ГлавнаяСборникиТурнирыРазделыФорумыУчастникиПечатьПомощьО системе

Разделы > Неотсортированные > задача:


Timer

Задачи раздела

• Binary to decimal
• Circle
• City Tour
• Dijkstra
• Fibonacci Series
• Find the biggest 2
• Find the biggest 3
• Sign
• Timer
• Tickets
• find the numbers
• Flowers
• Flowchart 1
• Flowchart 2
• Flowchart 3
• Connected components
• Going to the Movies

Обратная связь

Если у вас есть предложения или пожелания по работе Contester, посетите форум сайта www.contester.ru.

Лимит времени 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
Для отправки решений необходимо выполнить вход.

www.contester.ru