#t11. 计算日期是该年的第几天

计算日期是该年的第几天

Day of the Year

Problem Description

This problem asks you to write a program that computes which day of the year a given date is. A leap year is one that is divisible by 44 but not by 100100, or is divisible by 400400. February has 2929 days in a leap year.

Input Format

A single line giving the date in the format yy/mm/dd (i.e. year/month/day).

Output Format

Output on a single line the day of the year that the date falls on.

Sample Input 1

2020/02/29

Sample Output 1

60

Sample Input 2

2021/02/28

Sample Output 2

59

Sample Input 3

2023/12/31

Sample Output 3

365

Constraints

The year satisfies 1≤y≤99991 \le y \le 9999, and the input date is a valid date.