問題一覧 > 通常問題

No.2098 [Cherry Alpha *] Introduction

レベル : / AI推定難易度 : 99 / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 232
作問者 : 👑 Kazun / テスター : butsurizuki harurun
お気に入りにしたユーザー ProblemId : 8220 / 自分の提出
問題文最終更新日: 2022-10-14 20:59:53
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 364 (Do you know Cherry Contest?) (順位表) の他の問題:

Introduction

This section describes the background of this problem. This part is not directly related to the problem.

The Cherry Contest that Kazun hosts on yukicoder is being held for the 5th time this time (the 6th time if the Mathematics era is included).

In the Cherry Contest, each problem name is prefixed with something like [Cherry 1st Tune A]: after "Cherry" comes the numbering that denotes the contest, followed by a character determined by a certain rule (not explained here) ((なし), *, A, B, C, D, N) (the same character may be attached to different problems). In a sense, this serves as a problem code.

Problem Statement

You are given, as a string $S$, the subtitle of a Cherry Contest that has been held on yukicoder so far or is currently being held on yukicoder.

What is the numbering of the contest held with the subtitle $S$?

The correspondence between the subtitle and the numbering of each contest is as shown in the table below.

 
Numbering Subtitle Date
1st Zelkova and Cherry 2021/01/22
2nd BANNED CONTEST 2021/06/11
3rd Stray Bullet 2021/10/29
4th Early Summer Rain 2022/06/17
Alpha Do you know Cherry Contest? 2022/10/14

Constraints

  • $S$ is one of the following.
    • Zelkova and Cherry
    • BANNED CONTEST
    • Stray Bullet
    • Early Summer Rain
    • Do you know Cherry Contest?

Input

The input is given from standard input in the following format.

$S$

Strictly speaking, $S$ is immediately followed by a newline character and then EOF.

Output

Output the answer on $1$ line using (half-width) alphanumeric characters. Do not forget the newline.

Sample

Sample 1
Input
Do you know Cherry Contest?
Output
Alpha

The subtitle of the contest currently being held is Do you know Cherry Contest?. The numbering of this contest is Alpha.

Note that the numbering of a contest is not necessarily an ordinal number (1st, 2nd, 3rd, 4th, $\cdots$).

Sample 2
Input
Zelkova and Cherry
Output
1st

The 1st Cherry Contest was held jointly with the Zelkova Contest. Because of this, its subtitle is Zelkova and Cherry rather than Fault.

Note that the number of spaces in $S$ is not constant.

Sample 3
Input
Early Summer Rain
Output
4th

The 4th Cherry Contest also served as a so-called birthday contest.

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