Integer division and remainder




Task
Time limit: 1000 ms,
Memory limit: 256 Mb

There is the k-th second of the day. Determine how many whole hours and whole minutes the beginning of the day has passed. For example, if

\(k = 13257 = 3\cdot3600 + 40\cdot60+57\),

then  \(h = 3, m = 40\)

Input:

given integer k (0  k  86399).

Output

Output line like this

It is ... hours ... minutes.

Instead of dots, the program should output the values h and m, separating them from the words with exactly one space.

It is forbidden to use any algorithmic constructs other than arithmetic operations

Примеры
Входные данные Выходные данные
1 13257 It is 3 hours 40 minutes.

Prohibited statements:if;for;while;do;max

Auto CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:

Rules for designing programs and a list of errors during automatic task verification
           

Results: