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