eolymp
bolt
Try our new interface for solving problems
Problems

Olympiad

Olympiad

Time limit 1 second
Memory limit 128 MiB

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 data

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 data

Print the duration of the Olympiad in format hour min sec.

Examples

Input example #1
9 30 0
12 45 30
Output example #1
3 15 30