Medium
Duration Text to Minutes
Read a duration like
2h 35m (both parts always present). Convert the numbers with int() and print the total minutes.Input
One line.
Output
One integer.
Sample 1
Input
2h 35m
Output
155
Sample 2
Input
0h 5m
Output
5
Output appears here