from collections import * from itertools import * from functools import * from heapq import * import sys,math input = sys.stdin.readline X = int(input()) if X in [3,4,5]: print('spring') elif X in [6,7,8]: print('summer') elif X in [9,10,11]: print('fall') else: print('winter')