Will Code for Drinks @ ITU Apr 2019

Start

2019-04-12 13:30 UTC

Will Code for Drinks @ ITU Apr 2019

End

2019-04-12 16:00 UTC
The end is near!
Contest is over.
Not yet started.
Contest is starting in -65 days 19:10:21

Time elapsed

2:30:00

Time remaining

0:00:00

Problem D
Datum

Write a program that, given a date in $2009$, determines the day of week on that date.

Input

The first line contains two positive integers $D$ (day) and $M$ (month) separated by a space. The numbers will be a valid date in $2009$.

Output

Output the day of the week on day $D$ of month $M$ in $2009$. The output should be one of the words “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday” or “Sunday”.

Sample Input 1 Sample Output 1
1 1
Thursday
Sample Input 2 Sample Output 2
17 1
Saturday
Sample Input 3 Sample Output 3
25 9
Friday