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