x = int(input()) if 3 <= x <= 5: print("spring") elif 6 <= x <= 8: print("summer") elif 9 <= x <= 11: print("fall") elif 12 <= x or 1 <= x <= 2: print("winter")