• + 0 comments
    import calendar
    
    # collect information about mm, dd, and yy while converting into integers
    mm, dd, yy = (int(i) for i in input().split())
    
    
    # Returns the day of the week. Monday is zero.
    weekday = calendar.weekday(yy,mm,dd)
    
    # day_name takes an array and returns the name of the weekday associated with the value inside of our array.
    # It can not return multiple weekdays. 
    # I.E our array cannot have multiple values inside of it
    
    print(calendar.day_name[weekday].upper())