X=int(input()) if X in {3,4,5}: print('spring') if X in {4,5,6}: print('summer') if X in {9,10,11}: print('fall') if X in {12,1,2}: print('winter')