← Problem book: Python Lesson 3 of 96 · 10 XP

Seconds to hours

Theory and problem statement

Machine translation, not yet reviewed by a native speaker.

You are given the number of seconds n (0 ≤ n < 86400) since the start of the day. Print the time in the format H:MM:SS: hours as they are, minutes and seconds — always with two digits.

Example

Input:

3661

Output:

1:01:01

Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.