PROGRAMMING:How many days in a year
Enter a year from the screen (the year must be a year after 1980), and output the total number of days in the year. If the year entered is earlier than or equal to 1980, it will prompt invalid input( The leap year is 366 days, and the normal year is 365 days. The year that can be divided by 4 but not by 100 or by 400 is a leap year.)
###Input format:
Give a year after 1980 in one line
###Output format:
Output the number of days owned in the year in English on one line
###Input example:
Here is a set of inputs. For example:
```in
two thousand and two
```
###Output example:
The corresponding output is given here. For example:
```out
2002 has 365 days
```
Here is a set of inputs. For example:
```in
one thousand nine hundred and fifty
```
###Output example:
The corresponding output is given here. For example:
```out
invalid input!
```
Here is a set of inputs. For example:
```in
two thousand and eight
```
###Output example:
The corresponding output is given here. For example:
```out
2008 has 366 days
```
answer:If there is no answer, please comment
###Input format:
Give a year after 1980 in one line
###Output format:
Output the number of days owned in the year in English on one line
###Input example:
Here is a set of inputs. For example:
```in
two thousand and two
```
###Output example:
The corresponding output is given here. For example:
```out
2002 has 365 days
```
Here is a set of inputs. For example:
```in
one thousand nine hundred and fifty
```
###Output example:
The corresponding output is given here. For example:
```out
invalid input!
```
Here is a set of inputs. For example:
```in
two thousand and eight
```
###Output example:
The corresponding output is given here. For example:
```out
2008 has 366 days
```
answer:If there is no answer, please comment