P6460 [COCI 2006/2007 #5] NATRIJ

Description

Given a start time and an end time, you need to find how long the time interval between them is. It is guaranteed that the time interval is at least $1$ second and at most $24$ hours.

Input Format

The input consists of two lines. Each line contains a string, representing the start time and the end time, respectively. The format is `hh:mm:ss` (hours, minutes, seconds). The input guarantees that the hour is an integer in the range $0\sim 23$, and the minutes and seconds are integers in the range $0\sim 59$.

Output Format

Output one line with a string representing the length of the interval, in the same format as the input.

Explanation/Hint

#### Notes **This problem is translated from [COCI2006-2007](https://hsin.hr/coci/archive/2006_2007/) [CONTEST #5](https://hsin.hr/coci/archive/2006_2007/contest5_tasks.pdf) *T2 NATRIJ***. Translated by ChatGPT 5