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