Problems
Time for Nicholas
Time for Nicholas
Vasilyek know that St. Nicholas starts to deliver gifts when it gets dark, and finishes when it dawns. He wonders: how much time will have Nicholas to deliver all his gifts.
Input
In a single line given t1
and t2
- time when Nicholas starts and when finishes to deliver presents in format hh : mm : ss.
Output
Print the time that St. Nicholas uses to deliver gifts in the format hh : mm : ss. It is guaranteed that this time does not exceed 12 hours.
Input example #1
19:00:00 21:00:00
Output example #1
02:00:00