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