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