• + 0 comments
    import calendar
    l = tuple(map(int, input().split(" ")))
    print(calendar.day_name[calendar.weekday(l[2], l[0], l[1])].upper())