Problem Description

Time is provided as hour (0-23) and minute (0-59). Also an integer k (can be big) is provided. Add k minutes to the time and output the new time in HH:MM format.

Input Format

One line: hh mm k.

Output Format

One time string HH:MM.

Sample Test Case

Input:
23 50 25
Output:
00:15

Constraints

0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next