Minutes
Time limit2sMemory limit1024 MB
Given hours H and minutes M, the task is to print the total number of minutes, H * 60 + M.
- Level
Easy1 of 10
- Topics
- Math, Implementation
- Solved
- No attempts yet
Problem
Integers H and M are given.
Find how many minutes are in H hours and M minutes.
Input
The input is given in the following format.
H
M
Output
Print the number of minutes in H hours and M minutes, without the unit. Print nothing other than the answer.
Constraints
0 ≦ H ≦ 23.0 ≦ M ≦ 59.- All input values are integers.