|
Лимит времени 200/400/400/400 мс. Лимит памяти 65000/65000/65000/65000 Кб.
In the middle of the night (at 00:00) John started timer on his watch. Timer shows how many minutes passed after starting it (e.g. timer will show 75 at 01:15). At a certain time timer shows that N minutes passed after starting. Write a program that calculates exact time according to N.
Input
A single integer N ≤ 1400
Output
Time in hours and minutes, as shown in exmples
Examples
| standart input |
standart output |
| 75 |
1h 15m |
| 123 |
2h 3m |
Для отправки решений необходимо выполнить вход.
|