問題一覧 > 通常問題

No.2945 Namiki Secondary School

レベル : / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (解説公開後に AC するまで非表示) / 解いたユーザー数 183
作問者 : kagakukenkyuubu / テスター : nouka28 t9unkubj rotti_coder Michirakara
お気に入りにしたユーザー ProblemId : 10800 / 自分の提出
問題文最終更新日: 2024-10-01 22:46:22
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 451 (並木中等プログラミングコンテスト 2024) (順位表) の他の問題:

Problem Statement

Ibaraki Prefectural Namiki Secondary School opened on day $1$ of month $10$ of the year $2008$ AD, and this year marks $16$ years since its opening.

In addition, Ibaraki Prefectural Namiki Secondary School has Ibaraki Prefectural Namiki High School as its parent school, and Ibaraki Prefectural Namiki High School opened on day $6$ of month $11$ of the year $1984$ AD.

Given a positive integer $N$,

  • if Ibaraki Prefectural Namiki Secondary School exists on day $31$ of month $12$ of the year $N$ AD, print Namiki Secondary School;
  • if Ibaraki Prefectural Namiki High School exists on day $31$ of month $12$ of the year $N$ AD, print Namiki High School;
  • if no school exists at all on day $31$ of month $12$ of the year $N$ AD, print None.
Assume that from now on, it will always be Ibaraki Prefectural Namiki Secondary School.

Input

$N$

$1 \le N \le 10^9$

Output

Print the answer.

Sample

Sample 1
Input
1990
Output
Namiki High School

Sample 2
Input
2024
Output
Namiki Secondary School
Sample 3
Input
1729
Output
None

There was never a time when Ibaraki Prefectural Namiki Secondary School was a terakoya.

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。