Problem2697--数绵羊

2697: 数绵羊

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 49  Solved: 37
[Status] [Submit] [Creator:]

Description

小明今晚失眠了。于是他准备开始数绵羊。

已知小明一秒钟数了一只绵羊,一共数了 n 只绵羊。

问:小明数绵羊一共花了多少小时多少分钟多少秒。

Input

一个整数 n(1 ≤ n ≤ 1000000)。

Output

输出共一行,包含三个整数,两两之间以一个空格分隔,表示小明数绵羊花了多少小时多少分钟多少秒。  

Sample Input Copy

10000

Sample Output Copy

2 46 40

Source/Category