Start: Jun, 26, 2019 08:30:00
2019年度暑期短学期第一天
End: Jun, 26, 2019 11:30:00
Time elapsed:
Time remaining:

Problem_ID: C
Result: Accepted
Time: 144ms
Memory: 24720kB
Author: 2018212212104
In contest: 1273

import time,datetime
while True:
    try:
        n,y,r = map(int, input().split())
        res = datetime.datetime(n,y,r).strftime("%A")
        print(res)
    except:
        break