n=input()
if 3<=int(n[-2:])<=5:
    print("spring")
elif 6<=int(n[-2:])<=8:
    print("summer")
elif 9<=int(n[-2:])<=11:
    print("autumn")
else:
    print("winter")