Problems
Olympiad
Olympiad
The Olympiad started at $h_1$ hours $m_1$ minutes $s_1$ seconds, and finished at the same calendar day at $h_2$ hours $m_2$ minutes $s_2$ seconds. What is the duration (hour min sec)
of Olympiad?
Input
The first line contains the starting time, the second line contains the finishing time in format hour min sec
$(0 ≤ h_1 ≤ h_2 ≤ 23, 0 ≤ m_1, m_2, s_1, s_2 ≤ 59)$.
Output
Print the duration of the Olympiad in format hour min sec
.
Input example #1
9 30 0 12 45 30
Output example #1
3 15 30