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$ and $M$ separated by a space. The numbers will be a valid date in 2009.
Output
Output the day of the week on D. M. 2009. The output should be one of the words "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" or "Sunday".
Example 1
Input
1 1
Output
Thursday
Example 2
Input
17 1
Output
Saturday
Example 3
Input
25 9
Output
Friday
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.