X = int(input()) if X==3 or X==4 or X==5: print("spring") elif X==6 or X==7 or X==8: print("summer") elif X==9 or X==10 or X==11: print("fall") else: print("winter")