P6449 [COCI 2008/2009 #4] DATUM
Description
Given a date in the year $2009$, determine which day of the week it is.
Input Format
The input contains only one line with two integers $d$, $m$, where $m$ denotes the month and $d$ denotes the day of the month.
Output Format
Output one line with a string representing the answer. The required output for each day of the week is as follows:
| Day | Output |
| :--: | :---------: |
| Monday | `Monday` |
| Tuesday | `Tuesday` |
| Wednesday | `Wednesday` |
| Thursday | `Thursday` |
| Friday | `Friday` |
| Saturday | `Saturday` |
| Sunday | `Sunday` |
Explanation/Hint
#### Constraints
For all testdata, the given date is guaranteed to be a real date in the year $2009$.
#### Hint
- $1$ January $2009$ is a Thursday.
- Note that the input gives the day first, then the month.
#### Notes
**This problem is translated from [COCI2008-2009](https://hsin.hr/coci/archive/2008_2009/) [CONTEST #4](https://hsin.hr/coci/archive/2008_2009/contest4_tasks.pdf) *T2 DATUM***.
Translated by ChatGPT 5