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