Minutes to Hours

Lab Python Beginner 10 points

Read a number of minutes and print it as hours and minutes in the form H h M min.

Input

One non-negative integer.

Output

For 135 the output is 2 h 15 min.

Example

Input

135

Output

2 h 15 min
Sample input available Sample output available
Editor
Python

Hints

Hours are minutes // 60.

The leftover minutes are minutes % 60.

Solution explanation

// and % together split a number into whole units and the remainder. divmod(m, 60) does both at once.

Show solution
m = int(input())
print(f"{m // 60} h {m % 60} min")
Output
Answer
HOME LEARN COMMUNITY DASHBOARD