Write a program that, given a date in 2009, determines the day of week on that date.
Input Specification
The first line contains two positive integers
Output Specification
Output the day of the week on Monday
,
Tuesday
, Wednesday
, Thursday
, Friday
, Saturday
or Sunday
.
Sample Input 1
Copy
1 1
Sample Output 1
Copy
Thursday
Sample Input 2
Copy
17 1
Sample Output 2
Copy
Saturday
Sample Input 3
Copy
25 9
Sample Output 3
Copy
Friday
Comments