X=int(input()) s=["spring","summer","fall","winter"] print(s[(X-3)//3])