Time format - MarisaOJ: Marisa Online Judge

Time format

Time limit: 1000 ms
Memory limit: 256 MB
Convert $d$ seconds to the format of hours, minutes, and seconds. ### Input - A single line containing an integer $d$. ### Output - Print three integers $h, m, s$ representing the hours, minutes, and seconds of $d$. ### Constraints - $1 \le d \le 10^{18}$. ### Sample test ``` 3929 ``` Output: ``` 1 5 29 ```