Integer division and remainder




Task
Time limit: 1000 ms,
Memory limit: 256 Mb

The electronic watch shows the time in the format h:mm:ss, that is, first the number of hours is recorded in the range from 0 to 23, then a two-digit number of minutes is required, then a two-digit number of seconds is required. The number of minutes and seconds, if necessary, are padded to a two-digit number with zeros.
Since the beginning of the day n seconds have passed. Output what the clock will show.
It is forbidden to use any algorithmic constructs (if, while, for, etc.), except for arithmetic operations

Input: Enter the number n - integer, positive, does not exceed 107.
Output: Output the watch, observing the format.
 

Examples
N Input Output
1 3602 1:00:02
2 129700 12:01:40

Prohibited statements:if;?;while;do;for;max

Auto CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:

Rules for designing programs and a list of errors during automatic task verification
           

Results: