5017: P6449 [COCI2008-2009#4] B(普及-)
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:30
Solved:20
Description

Input

Output

Sample Input Copy
1 1
Sample Output Copy
Thursday
HINT
