O-Big Bang
From beginning of Universe up today He look from above and He have a classic watch able to show 12 hours. After that watch start to measure from one second again.
We know that Universe is about 13.7 billion years old. All this time, His only entertainment was guessing what time is shown on His watch (which never stop and have absolutely precision).
Image: bigbang
Input
In first and only line on standard input is integer S (1 <= S ), time in seconds, from Big Bang to some point in past.
In first and only line on standard input is integer S (1 <= S ), time in seconds, from Big Bang to some point in past.
Output
In first and only line on output, write time T in format HH:MM:SS (00:00:01 <= T <= 12:00:00) hours, minutes and seconds shown on His watch.
In first and only line on output, write time T in format HH:MM:SS (00:00:01 <= T <= 12:00:00) hours, minutes and seconds shown on His watch.
Input:
Output:
1687Output:
00:28:07
Input:
Output:
16871687Output:
06:34:47
Submit solution
Coming laterThe grading service will be connected in a later migration step. You can inspect the task and your previous results now.