x=(int(input())-3)%12//3 print(['spring','winter','fall','winter'][x])