atcoder#ABC258A. [ABC258A] When?
[ABC258A] When?
Score : points
Problem Statement
AtCoder Beginner Contest usually starts at 21:00 JST and lasts for minutes.
You are given an integer between and (inclusive). Print the time minutes after 21:00 in the HH:MM
format, where HH
denotes the hour on the -hour clock and MM
denotes the minute. If the hour or the minute has just one digit, append a to the beginning to represent it as a -digit integer.
Constraints
- is an integer between and (inclusive).
Input
Input is given from Standard Input in the following format:
Output
Print the time minutes after 21:00 in the format specified in the Problem Statement.
63
22:03
minutes after 21:00, it will be 22:03, so 22:03
should be printed.
The following outputs would be judged incorrect:
10:03
22:3
45
21:45
100
22:40