S = ["spring"]*3 + ["summer"]*3 + ["fall"]*3 + ["winter"]*3 X = int(input()) X -= 3 X %= 12 print(S[X])