Skip to content
UPEEC

Seconds to HH:MM:SS

Easy#basics#math· solved by 0 · time limit 2.0 s

Convert a number of seconds into hours, minutes and seconds, printed as HH:MM:SS with two digits each (hours can exceed 24).

Input

A single integer ss.

Output

The time as HH:MM:SS.

Constraints

0≤s<3600000 \le s < 360000

Sample 1

Input

3661

Output

01:01:01

Sample 2

Input

59

Output

00:00:59

Sign in or join free to run and submit your solution.