# Problem G

Bið, endalaus bið

Languages
en
is
Svala has been waiting for forever and the wait barely shortens, it seems. She looked at the clock quite a while ago so she’s going to check what the time is. Svala doesn’t know how to read the time off a clock though, can you help her and tell her how many minutes have passed since she first looked at the time?

## Input

The input consists of two lines, both in the format $HH:MM$. The first line shows what the time was when Svala first looked at the clock. The second line shows what the time is now.

## Output

Print one line with a single integer, the number of minutes Svala has waited. She will never wait for $24$ hours or more.

## Scoring

Group |
Points |
Constraints |

1 |
50 |
Svala will not wait past midnight. |

2 |
50 |
No further constraints. |

Sample Input 1 | Sample Output 1 |
---|---|

02:02 20:20 |
1098 |

Sample Input 2 | Sample Output 2 |
---|---|

13:37 13:42 |
5 |

Sample Input 3 | Sample Output 3 |
---|---|

20:20 02:02 |
342 |