11153 - Day Number of the Year Calculator   

Description

Input a certain date, calculate the nth day of the year.

Input

The inputs consists of 3 parts:

year month day

0<year<3000

Output

Output is the day number of the year.  Note that you do not need to print‘\n’ at the end of the output.

Sample Input  Download

Sample Output  Download

Tags




Discuss