1159: 计算天数【if嵌套或分情语句】

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:12 Solved:6

Description

已知一天的年月日,请算出今天当年的第几天(需要考虑平年闰年)。

Input

当天的年月日,用空格隔开。

Output

属于当年的第几天

Sample Input Copy

2008 3 1

Sample Output Copy

61