from collections import defaultdict, deque from sys import stdin readline = stdin.readline def li(): return list(map(int, readline().split())) X = int(input()) x = X // 3 if x == 1: print("spring") elif x == 2: print("summer") elif x == 3: print("fall") else: print("winter")