Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/soat-va-daqiqa

Hours and minutes

Easy 1000 ms 64 MB 10%
Share

$n$ minutes are given. Find how many full hours and how many minutes that is.

Minutes split into full hours and the remaining minutes

Input

One integer $n$.

Output

One line with two integers: the number of full hours $h$ and the number of remaining minutes $m$ ($0 \le m \le 59$).

Note

$0 \le n \le 10^{9}$

Examples

Input #1
135
Output #1
2 15
Input #2
60
Output #2
1 0

Sign in to submit a solution

Signing up is free and takes a minute.