Integer
Integer-50
Integer-51
Boolean-01
~/algor $ cat problems/integer-soat-korsatkichi
Clock display
Easy
1000 ms
64 MB
20%
s seconds have passed since the start of the day (since 00:00:00). Print the current time as HH:MM:SS: hours, minutes and seconds are always two digits (with a leading 0 if needed).
Input
One integer s — the number of seconds since the start of the day.
Output
One line — the time as HH:MM:SS.
Note
0 ≤ s ≤ 86 399
Examples
Input #1
3725
Output #1
01:02:05
Input #2
86399
Output #2
23:59:59