LogiQuest

332. Seconds to H:M:S

EasyArithmetic

Convert a number of seconds to H:MM:SS (hours are not padded and may exceed 24).

Input format

A single integer s.

Output format

H:MM:SS

Example 1

Input

3661

Output

1:01:01

Example 2

Input

0

Output

0:00:00

Constraints

0 ≤ s ≤ 10¹²

Read input from standard input and print the answer to standard output. Your code is judged against 5 test cases, most of them hidden.

Loading the MyLoginn IDE…