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