← Problem book: Python
Lesson 15 of 96 · 15 XP
In N minutes
Theory and problem statement
Machine translation, not yet reviewed by a native speaker.
It is now h hours and m minutes, separated by a space (0 ≤ h ≤ 23, 0 ≤ m ≤ 59). On the next line — a number of minutes n (n ≥ 0).
What time will the clock show in n minutes? Print it in the format H:MM.
Example
Input:
10 30
45
Output:
11:15
Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.