#P1025. The New Corridor

    ID: 26 远端评测题 1000ms 128MiB 尝试: 0 已通过: 0 难度: (无) 上传者: 标签>深圳技术大学第一届程序设计竞赛(SZTUCPC2021)

The New Corridor

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.

10:10 10:30
12:50 13:05
20
15