s=["winter","spring","summer","fall"] n=int(input())%12 print(s[n//3])