TopCoder

Omelet
ㄏ一ㄏ一 軟軟好香

User's AC Ratio

95.6% (65/68)

Submission's AC Ratio

70.1% (75/107)

Tags

Description

Thanks God it's Friday!!!
(computer lesson again)

今天星期五,給你 x,請問 x 天後是星期幾?

Input Format

本題有多組測試資料
每組測試資料有一個非負整數 x。

Output Format

對於每組測試資料,若 x 天後是:

星期一,則印出 "Monday"
星期二,則印出 "Tuesday"
星期三,則印出 "Wednesday"
星期四,則印出 "Thursday"
星期五,則印出 "Friday"
星期六,則印出 "Saturday"
星期天,則印出 "Sunday"

Sample Input 1

3
4
5
6
7
8
9

Sample Output 1

Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

Hints

Problem Source

原TIOJ1664 / kelvin

Subtasks

No. Testdata Range Score
1 0 100

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 65536 262144 1