#PCBSAU0000014. Giờ, phút và giây (Hours Minutes and Seconds)
Giờ, phút và giây (Hours Minutes and Seconds)
Hours Minutes and Seconds
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given a non-negative duration in seconds, express it as whole hours, remaining minutes, and final seconds. An hour has 3600 seconds and a minute has 60 seconds.
Input
One line with integer in seconds.
Output
Print integers on one line, separated by single spaces.
Subtask
- Subtask 1 — 100 points: .
Example
Input
3661
Output
1 1 1
Explanation
hour; seconds remain, giving minute and second.