#yukicoder393A

N=int(input())
if   3<=N<6: print('spring')
elif 6<=N<9: print('summer')
elif 9<=N<12: print('fall')
else: print('winter')