問題一覧 > 通常問題

No.2350 Four Seasons

レベル : / AI推定難易度 : 75 / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (解説公開後に AC するまで非表示) / 解いたユーザー数 299
作問者 : 👑 AngrySadEight / テスター : 👑 p-adic kumakuma
お気に入りにしたユーザー ProblemId : 8980 / 自分の提出
問題文最終更新日: 2023-05-12 09:53:44
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Back to the original
yukicoder contest 393 (順位表) の他の問題:

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もしくは右上の雲マークをクリックしてアカウントを作成してください。