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