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