d = int(input("enter day number:"))
if(d == 0):
    print("Sunday")
if(d == 1):
    print("Monday")
if(d == 2):
    print("Tuesday")
if(d == 3):
    print("Wednesday")
if(d == 4):
    print("Thursday")
if(d == 5):
    print("Friday")
if(d == 6):
    print("Saturday")
