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