x = int(input()) t1 = x // 3 t2 = x % 3 if t1 == 1: print("spring") elif t1 == 2: print("summer") elif t1 == 3: print("fall") else: print("winter")