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