X = int(input().strip()) print(['spring', 'summer', 'fall', 'winter'][((X-3) % 12) // 3])