m = int(input()[-2:]) if 3<=m<=5: print('spring') elif 6<=m<=8: print('summer') elif 9<=m<=11: print('autumn') else: print('winter')