LearnPy Hub
← Arena
EasyRating 900

Minutes Between Times

Print the number of minutes from time a to time b (HH:MM, 24-hour). If b is earlier than a, b is on the next day.

Input

Two lines.

Output

Minutes.

Sample 1

Input
09:30
11:15
Output
105

Sample 2

Input
23:00
01:00
Output
120
solution.py
Output appears here
Minutes Between Times · Python Arena problem · LearnPy Hub