Problem2739--小张的生日1

2739: 小张的生日1

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 57  Solved: 31
[Status] [Submit] [Creator:]

Description

已知小张的生日是 a 年 b 月 c 日,问:他的生日是 a 年的第几天?

Input

一行,三个整数 a, b, c。

数据保证 a 年 b 月 c 日是公元 0 年到 9999 年内的一个有效日期。  

Output

输出一个整数,表示 a 年 b 月 c 日是 a 年的第几天。

Sample Input Copy

2023 5 12

Sample Output Copy

132

Source/Category