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