Problem

2 /4


timer

Problem

A timer is a clock that can beep after a certain period of time. Write a program that determines when a beep should sound.
 
Input:
The first line contains the current time in HH:MM:SS format (with leading zeros). At the same time, it satisfies the restrictions: HH - from 00 to 23, MM and SS - from 00 to 60. 
The second line contains the time interval to be measured. The interval is written in the format H:M:S (where H, M and S are from 0 to 109, without leading zeros). Additionally, if P=0 (or P=0 and M=0), then they may be omitted. For example, 100:60 actually means 100 minutes 60 seconds, which is the same as 101:0 or 1:41:0. 
A 42 means 42 seconds. 100:100:100 - 100 hours, 100 minutes, 100 seconds, which is the same as 101:41:40.
 
Output:
In your answer, output in the format HH:MM:SS the time when the beep sounds. Moreover, if the signal does not sound on the current day, then the record +<number> days. For example, if the signal sounds the next day, then +1 days

Examples
# Input Output
1
01:01:01 
48:0:0
01:01:01+2 days
2
01:01:01
58:119
02:01:00
3
23:59:59
1  
00:00:00+1 days