Input a certain date, calculate the nth day of the year.
The inputs consists of 3 parts:
year month day
0<year<3000
Output is the day number of the year. Note that you do not need to print‘\n’ at the end of the output.