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