• + 0 comments
    import calendar
    
    M,D,Y = map(int,input().split())
    
    print(calendar.day_name[calendar.weekday(Y,M,D)].upper())