计算星期几

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

假设今天是星期日,那么过aba^b天之后是星期几?

输入格式

两个正整数aabb,中间用单个空格隔开。(0<a1000 < a ≤ 100,0<b100000 < b ≤ 10000)

输出格式

一个字符串,代表过ab天之后是星期几。
其中,Monday是星期一,Tuesday是星期二,Wednesday是星期三,Thursday是星期四,Friday是星期五,Saturday是星期六,Sunday是星期日。

样例

3 2000
Tuesday

基础知识

Not Claimed
Status
Done
Problem
19
Open Since
2024-9-28 0:00
Deadline
2024-10-7 23:59
Extension
24 hour(s)