Time for Nicholas
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
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 t[1]
and t[2]
- 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.
Examples
Input #1
Answer #1
Submissions 11K
Acceptance rate 31%