# print_6070.py

a = int(input())

if (a is 12) or (a is 1) or (a is 2):
    print("winter")
elif (a is 3) or (a is 4) or (a is 5):
    print("spring")
elif (a is 6) or (a is 7) or (a is 8):
    print("summer")
elif (a is 9) or (a is 10) or (a is 1):
    print("fall")
