#CCBCHMUOI0000024. Số ngày theo mùa (Month to Season)
Số ngày theo mùa (Month to Season)
Month to Season
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given month m of the year, March–May denotes spring, June–August summer, September–November autumn and December–February winter. Print the season name.
Input
One integer month m from 1 to 12.
Output
Print SPRING, SUMMER, AUTUMN or WINTER for the given month.
Subtasks
- Subtask 1 (20%): m is 3, 4 or 5.
- Subtask 2 (30%): m is one of 3 through 8.
- Subtask 3 (50%): 1 <= m <= 12.
Examples
Example 1
Input
3
Output
SPRING
Explanation
Month 3 starts the spring group.
Example 2
Input
12
Output
WINTER
Explanation
December belongs to winter.