n = int(input()) if 3 <= n < 6: print("spring") elif 6 <= n < 9: print("summer") elif 9 <= n < 12: print("fall") else: print("winter")