Problem1702--时间加法

1702: 时间加法

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

给定一个时间(24小时制)和一个以秒为单位的时间段,计算并输出相加后的时间。

Input

第一行输入初始时间,格式为 HH:MM:SS
第二行输入一个整数 n,表示需要加上的秒数

Output

输出相加后的时间,格式为 HH:MM:SS

Sample Input Copy

23:59:59
1

Sample Output Copy

00:00:00

Source/Category