Timer#749

Timer

1 second
64 megabytes
Very easy

Timer — a clock that can emit a sound signal after a specified period. Write a program to determine when the sound signal should be emitted.

Input

The first line of the input file provides the current time in the format \textbf{HH}:\textbf{MM}:\textbf{SS}, with leading zeros. The constraints are: ranges from to , and both and range from to .

The second line specifies the time interval to be measured, formatted as \textbf{H}:\textbf{M}:\textbf{S}. Here, , , and range from to 10^9, without leading zeros. If \textbf{H} = 0 (or both \textbf{H} = 0 and \textbf{M} = 0), they can be omitted. For instance, 100:60 means minutes and seconds, equivalent to 101:0 or 1:41:0. Similarly, represents seconds. 100:100:100 denotes hours, minutes, and seconds, which is the same as 101:41:40.

Output

Output the time in the format \textbf{HH}:\textbf{MM}:\textbf{SS} when the sound signal will be emitted. If the signal is emitted on a day other than the current one, append to the record. For example, if the signal is emitted the next day, output .

Examples

Example 1

Loading
Loading