After a particularly bad ice storm, the central clock from the little town of Alert, Nunavut has frozen, and the hands no longer move.
Since the clock stopped, the locals have been using a stopwatch to determine the current time by adding the stopwatch's current time (in minutes) with that of the clock. However, adding is a job for computers, so until the clock thaws, they've asked you to help them determine the current time!
The first line of input will contain the space-separated integers and . These integers represent the hour and minutes at which the clock stopped, respectively.
The second line of input will contain the integer .
Output the current time in 24-hour format, with the hours and minutes separated by a space.
Sample Input 1
11 59 2
Sample Output 1
Sample Input 2
12 0 61
Sample Output 2
Sample Input 3
23 58 5
Sample Output 3