month = int(input())
if month == 1 or month == 2 or month == 12:
print('зима')
elif month == 3 or month == 4 or month == 5:
print('весна')
elif month == 6 or month == 7 or month == 8:
print('лето')
elif month == 9 or month == 10 or month == 11:
print('осень')
else:
print('error')
month = int(input())
seasons = {0:'зима', 1:'весна', 2:'лето', 3:'осень', 4:'зима'}
if 1 <= month <= 12: print(seasons[month//3])
else: print('error')
seasons = ['зима', 'весна', 'лето', 'осень', 'зима']