N=int(input())+9 N%=12 print(["spring","summer","fall","winter"][N//3])