Олимпиадный тренинг

Задача 32935. Lessons at school - 1


Задача

Темы: Целые числа
School starts at 8:30. The lesson lasts 45 minutes, breaks between lessons – 10 minutes. Enter the number of the lesson and display the end time.

Input
The input is an integer - the number of the lesson (an integer, not more than 10).

Imprint
Output the answer to the problem in the format hours-minutes.

 

Examples
# Input Output
1 6 13-50