month=str(input('vvedite mesac'))
day=int(input('vvedite den'))
if month=='January' or month=='Februrary':
season='Winter'
elif month=='March':
if day<20:
season='Winter'
else:
season='Spring'
elif month=='April' or month=='May':
season='Spring'
elif month=='June':
if day<21:
season='Spring'
else:
season='Summer'
elif month=='Jule' or month=='August':
season='Summer'
elif month=='September':
if day<22:
season='Summer'
else:
season='Autumn'
elif month=='October' or month=='November':
season='Autumn'
elif month=='December':
if day<21:
season='Autumn'
else:
season="Winter"
print(month,day,'eto',season)