1025 : The New Corridor

时间限制Time Limit 1 Sec 内存限制Memory Limit 128 MB 提交次数Submitted 40 Times 通过次数Solved 28 Times 标准评测Standard Judge

题目描述Description

SZTU has just opened the newly built corridor!

Xiao Ming wants to know what time to get up to ensure that he will not be late for class if he takes this route.

So he participated in the opening of the corridor and recorded the time of departure and arrival.

Can you figure out how many minutes he needs to walk for class with coding?

输入格式Input

There are multiple test cases.

In each test case, two time points in hh:mm type are given.

Normally, Xiao Ming is unlikely to walk the corridor in the middle of the night.

So you can believe that the all the data are within the same day.

输出格式Output

Output the minutes Xiao Ming takes for each test case.

样例Sample

出题Author

CSGrandeur