시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 128 MB 1265 533 495 42.969%

문제

2009년 날짜가 주어졌을 때, 무슨 요일인지 출력하는 프로그램을 작성하시오.

입력

첫째 줄에 D와 M이 주어진다. M월 D일이다.

출력

2009년 M월 D일의 요일을 영어로 출력한다. 출력은 다음 중 하나이다. "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday".

예제 입력 1

1 1

예제 출력 1

Thursday
W3sicHJvYmxlbV9pZCI6IjI5NDgiLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiIyMDA5XHViMTQ0IiwiZGVzY3JpcHRpb24iOiI8cD5cclxuXHQyMDA5XHViMTQ0IFx1YjBhMFx1YzlkY1x1YWMwMCBcdWM4ZmNcdWM1YjRcdWM4NGNcdWM3NDQgXHViNTRjLCBcdWJiMzRcdWMyYTggXHVjNjk0XHVjNzdjXHVjNzc4XHVjOWMwIFx1Y2Q5Y1x1YjgyNVx1ZDU1OFx1YjI5NCBcdWQ1MDRcdWI4NWNcdWFkZjhcdWI3YThcdWM3NDQgXHVjNzkxXHVjMTMxXHVkNTU4XHVjMmRjXHVjNjI0LjxcL3A+XHJcbiIsImlucHV0IjoiPHA+XHJcblx0XHVjY2FiXHVjOWY4IFx1YzkwNFx1YzVkMCBEXHVjNjQwIE1cdWM3NzQgXHVjOGZjXHVjNWI0XHVjOWM0XHViMmU0LiBNXHVjNmQ0IERcdWM3N2NcdWM3NzRcdWIyZTQuPFwvcD5cclxuIiwib3V0cHV0IjoiPHA+XHJcblx0MjAwOVx1YjE0NCBNXHVjNmQ0IERcdWM3N2NcdWM3NTggXHVjNjk0XHVjNzdjXHVjNzQ0IFx1YzYwMVx1YzViNFx1Yjg1YyBcdWNkOWNcdWI4MjVcdWQ1NWNcdWIyZTQuIFx1Y2Q5Y1x1YjgyNVx1Yzc0MCBcdWIyZTRcdWM3NGMgXHVjOTExIFx1ZDU1OFx1YjA5OFx1Yzc3NFx1YjJlN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