#C2959. Flower Seasonal Classification
Flower Seasonal Classification
Flower Seasonal Classification
You are given a list of integers representing days of the year on which flowers bloom. Your task is to determine the corresponding season for each day using the following rules:
- Day in the range \(60 \le n \le 151\): Spring
- Day in the range \(152 \le n \le 243\): Summer
- Day in the range \(244 \le n \le 334\): Autumn
- All other days: Winter
Output the season for each input day, separated by a single space.
inputFormat
The first line of input contains an integer \(n\) (\(1 \le n \le 365\)) representing the number of days. The second line contains \(n\) integers, each representing a day of the year (between 1 and 365).
outputFormat
Output a single line containing \(n\) season names separated by a single space. Each season name should be one of the following: Winter, Spring, Summer, or Autumn.
## sample4
100 200 300 50
Spring Summer Autumn Winter