DATUM
시간 제한: 1000ms메모리 제한: 128MB출처: COCI 2008-2009BOJ 2948
문제
Write a program that, given a date in 2009, determines the day of week on that date.
입력
The first line contains two positive integers D and M separated by a space. The numbers will be a valid date in 2009.
출력
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".
예제
예제 1
입력
1 1
출력
Thursday
예제 2
입력
17 1
출력
Saturday
예제 3
입력
25 9
출력
Friday
코드를 제출하려면 로그인하세요.