You are given two moments of time on the same day: hours, minutes, and seconds. Determine how many seconds passed between them.
Six integers: h1 m1 s1 and h2 m2 s2 (second moment is not earlier).
Print the number of seconds between the two moments.
Input #1
1 1 1 2 2 2
Output #1
3661
Input #2
1 2 30 1 3 20
Output #2
50
Sign in to submit your solution and save your progress.