x = int(input()) if 3 <= x <= 5: print('spring') elif 6 <= x <= 8: print('summer') elif 9 <= x <= 11: print('fall') else: print('winter')