PROGRAMMING:What day of the week
Use the following formula to find out the day of the week
$$
h = (q + \frac{26(m+1)}{10} + k + \frac{k}{4} + \frac{j}{4} + 5j)\% 7
$$
```
h: Day of the week (0: Saturday, 1: Sunday, 2: Monday, 3: Tuesday, 4: Wednesday, 5: Thursday, 6: Friday)
q: What day of the month is it
m: It is the month (3: March, 4: October,..., 12: December). January and February are counted according to the previous year's 13 and 14 months.
j: It's the number of centuries, or year / 100
k: It's a year of a century, year% 100
```
Write a program, enter a date of the year, month, day, show it is the day of the week.
###Input format:
Enter the year, month and day
###Output format:
What day is the output
###Input example:
Here is a set of inputs. For example:
```in
two thousand and twenty
ten
twenty-seven
```
###Output example:
The corresponding output is given here. For example:
```out
October 27, 2020 is Tuesday
```
answer:If there is no answer, please comment
$$
h = (q + \frac{26(m+1)}{10} + k + \frac{k}{4} + \frac{j}{4} + 5j)\% 7
$$
```
h: Day of the week (0: Saturday, 1: Sunday, 2: Monday, 3: Tuesday, 4: Wednesday, 5: Thursday, 6: Friday)
q: What day of the month is it
m: It is the month (3: March, 4: October,..., 12: December). January and February are counted according to the previous year's 13 and 14 months.
j: It's the number of centuries, or year / 100
k: It's a year of a century, year% 100
```
Write a program, enter a date of the year, month, day, show it is the day of the week.
###Input format:
Enter the year, month and day
###Output format:
What day is the output
###Input example:
Here is a set of inputs. For example:
```in
two thousand and twenty
ten
twenty-seven
```
###Output example:
The corresponding output is given here. For example:
```out
October 27, 2020 is Tuesday
```
answer:If there is no answer, please comment