In some school, lessons start at 9:00. Each lesson lasts 45 minutes. After 1st, 3rd, 5th, etc. lessons there’s a 5-minute break, and after 2nd, 4th, 6th, etc. — a 15-minute break. Determine when the given lesson ends.
A lesson number is given (from 1 to 10).
Print the end time of that lesson in hours and minutes.
Input #1
3
Output #1
11 35
Input #2
2
Output #2
10 35
Sign in to submit your solution and save your progress.