题目描述
Problem Description
Given a date in the year 2009, determine what day of the week it is.
Input Format
The input consists of a single line with two integers \( d \) and \( m \), where \( m \) represents the month and \( d \) represents the day of the month.
Output Format
Output a single line containing a string that represents the day of the week. The corresponding outputs for each day of the week are as follows:
| Day of the Week | Output |
|---|---|
| Monday | Monday |
| Tuesday | Tuesday |
| Wednesday | Wednesday |
| Thursday | Thursday |
| Friday | Friday |
| Saturday | Saturday |
| Sunday | Sunday |
Sample Input and Output
Sample Input #1
1 1
Sample Output #1
Thursday
Sample Input #2
17 1
Sample Output #2
Saturday
Sample Input #3
25 9
Sample Output #3
Friday
Notes/Hints
- The input guarantees that the date provided is a valid date in the year 2009.
- Note that January 1, 2009, is a Thursday.
- Be aware that the input format is day followed by month.
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分
样例输入
1 1
样例输出
Thursday