#CCBCHMUOI0000018. Mùa theo tháng (Season by Month)
Mùa theo tháng (Season by Month)
Season by Month
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
For a month m in 1 through 12, use these seasons: winter is December, January and February; spring is March–May; summer June–August; autumn September–November. Print the uppercase season name.
Input
One integer month m from 1 through 12.
Output
Print WINTER, SPRING, SUMMER or AUTUMN as specified.
Subtasks
- Subtask 1 (20%): m is 12, 1 or 2.
- Subtask 2 (30%): m belongs to 12, 1, 2, 3, 4 or 5.
- Subtask 3 (50%): 1 <= m <= 12.
Examples
Example 1
Input
12
Output
WINTER
Explanation
December belongs to winter, like January and February.
Example 2
Input
9
Output
AUTUMN
Explanation
September is within 9–11 and belongs to autumn.