#PCBSAU0000045. Đồng hồ điện tử HH:MM:SS (Digital Clock HH:MM:SS)
Đồng hồ điện tử HH:MM:SS (Digital Clock HH:MM:SS)
Digital Clock HH:MM:SS
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given seconds since midnight, convert to HH:MM:SS with exactly two digits per field and leading zeros.
Input
One line containing integer .
Output
One line in HH:MM:SS format.
Subtask
- Subtask 1 — 100 points: .
Example
Input
3661
Output
01:01:01
Explanation
3600 seconds form one hour, leaving 61 seconds: one minute and one second, printed as 01:01:01.