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