def I(): return input() def N(): return int(input()) def M(): return map(int,input().split()) def L(): return list(map(int,input().split())) #----------------------------------------- X = N() season = ["spring","summer","fall","winter"] print(season[(X-3)//3])