Problem3434--距离等级考试还有多少分钟

3434: 距离等级考试还有多少分钟

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

戴尔,千宸,栩逸三兄弟要参加GESP3月等级考试。现在是2025年A月B日20:00分,参加等级考试的时间是2025年3月22日 09:30分
他们想知道现在距离参加考试有多少分钟 。

Input

输入2个整数,分别代表月,日;

Output

输出距离考试还有多少分钟

Sample Input Copy

3 21

Sample Output Copy

810

HINT

2 1

69930


1 1
114570

Source/Category

GESP