• + 0 comments
    import calendar
    # Enter your code here. Read input from STDIN. Print output to STDOUT
    r = list(map(int, input().split()))
    print(calendar.day_name[calendar.weekday(r[2], r[0], r[1])].upper())