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