time = input() # year = time[:4] month = int(time[4:]) if 3 <= month <= 5: season = 'spring' elif 6 <= month <= 8: season = 'summer' elif 9 <= month <= 11: season = 'autumn' else: season = 'winter' print(season)