No.2350 Four Seasons
タグ : / 解いたユーザー数 299
作問者 : 👑
Problem Statement
In Japan, the correspondence between months, season names, and the American English names of those seasons is as shown in the following table.
| Month | Season name | American English name |
|---|---|---|
| March, April, May | Haru | spring |
| June, July, August | Natsu | summer |
| September, October, November | Aki | fall |
| December, January, February | Fuyu | winter |
You are given an integer $X$. Find the American English name of the Japanese season of month $X$.
Constraints
- $X$ is an integer.
- $1 \leq X \leq 12$
Input
The input is given from standard input in the following format.
$X$
Output
Output the English name of the Japanese season of month $X$. Note that the answer is case-sensitive.
Sample
Sample 1
Input
1
Output
winter
January is in winter in Japan, so output winter, the American English name of winter. Note that the answer is case-sensitive, so output such as Winter will be judged as incorrect.
Sample 2
Input
9
Output
fall
September is in autumn in Japan, so output fall, the American English name of autumn. Note that outputting autumn will be judged as incorrect.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。