In the year 2486, elephants successfully invented a time machine. However, to prevent its misuse, the Time Police established a rule: It can only be used to travel to the past, and the destination must be less than 24 hours of the present time. The elephants ask for your help to test the time machine. You know the time before you were sent (now) and the time after you arrive (past). How long was the time interval between these two moments?
The first line contains three integers, H1
, M1
, and S1
, representing the time before teleportation (now).
The second line contains three integers, H2
, M2
, and S2
, representing the time after teleportation (past).
0 ≤ H1
, H2
≤ 23
0 ≤ M1
, M2
≤ 59
0 ≤ S1
, S2
≤ 59
The time format is: HH MM SS
Output a single line that contains three integer, represent the time interval between teleport.
Please follow the format: HH MM SS
, and also, the time should be in the range below.
0 ≤ HH
≤ 23
0 ≤ MM
≤ 59
0 ≤ SS
≤ 59
There should be NO space and '\n' at the end of the output.