You look at the clock and see that it is currently 14.00h. You set an alarm to go off 535 hours later. At what time will the alarm go off?

Assignment

Write a program that prints the answer in the form HH:MM (24 hour time format).

Tip

For the best solution, you will need the modulo operator.