{"raw_statement":[{"iden":"problem statement","content":"You are given a string $S$ of length $6$. It is guaranteed that the first three characters of $S$ are `ABC` and the last three characters are digits.\nDetermine if $S$ is the abbreviation of a contest held and concluded on AtCoder before the start of this contest.\nHere, a string $T$ is \"the abbreviation of a contest held and concluded on AtCoder before the start of this contest\" if and only if it equals one of the following $348$ strings:\n`ABC001`, `ABC002`, $\\ldots$, `ABC314`, `ABC315`, `ABC317`, `ABC318`, $\\ldots$, `ABC348`, `ABC349`.\nNote that `ABC316` is not included."},{"iden":"constraints","content":"*   $S$ is a string of length $6$ where the first three characters are `ABC` and the last three characters are digits."},{"iden":"input","content":"The input is given from Standard Input in the following format:\n\n$S$"},{"iden":"sample input 1","content":"ABC349"},{"iden":"sample output 1","content":"Yes\n\n`ABC349` is the abbreviation of a contest held and concluded on AtCoder last week."},{"iden":"sample input 2","content":"ABC350"},{"iden":"sample output 2","content":"No\n\n`ABC350` is this contest, which has not concluded yet."},{"iden":"sample input 3","content":"ABC316"},{"iden":"sample output 3","content":"No\n\n`ABC316` was not held on AtCoder."}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}