您的位置:首页 > 其它

HDU:2133 What day is it

2013-05-18 22:36 351 查看
Problem Description

Today is Saturday, 17th Nov,2007. Now, if i tell you a date, can you tell me what day it is ?

Input

There are multiply cases.

One line is one case.

There are three integers, year(0<year<10000), month(0<=month<13), day(0<=day<32).

Output

Output one line.

if the date is illegal, you should output "illegal". Or, you should output what day it is.

Sample Input

2007 11 17


Sample Output

Saturday


解决方案见

/article/7705795.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: