x=int(input()) if x in [3,4,5]: print("spring") elif x in [6,7,8]: print("summer") elif x in [9,10,11]: print("fall") else: print("winter")