#C2875. Convert Minutes to Hours and Minutes
Convert Minutes to Hours and Minutes
Convert Minutes to Hours and Minutes
Given a total number of minutes, your task is to convert it into hours and minutes. You need to compute the integer division and modulus with 60 (i.e. \(hours = \lfloor total\_minutes / 60 \rfloor\) and \(minutes = total\_minutes \bmod 60\)). The result should be printed as two space-separated integers, where the first integer is the number of hours and the second is the remaining minutes.
inputFormat
The input consists of a single line containing a non-negative integer \(total\_minutes\) representing the total number of minutes.
outputFormat
Output two space-separated integers: the number of hours and the remaining minutes.
## sample120
2 0
</p>