n = int(input()) n = (n // 3) % 4 ans = ["winter", "spring", "summer", "fall"] print(ans[n])