10004. 時間轉換

I'm a slow walker, but I never walk backwards.

Task Description

已知輸入任意介於1~86400的秒數,將其分解為對等於幾小時、幾分鐘、幾秒鐘。

Input Format

輸入一正整數

Output Format

先印出輸入的秒數,再分別印出時分秒,請換行印出

Sample Input

125

Sample Output

125
0
2
5

Sample Input

3880

Sample Output

3880
1
4
40

Submit

Login

Testdata Set

Download Testdata