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