x = int(input()) print(["spring", "summer", "fall", "winter"][((x + 9) % 12) // 3])