print((lambda x: [v for k,v in {(3,4,5):"spring",(6,7,8):"summer",(9,10,11):"fall",(12,1,2):"winter"}.items() if x in k][0])(int(input())))