{"raw_statement":[{"iden":"problem statement","content":"Snuke built an online judge to hold a programming contest.\nWhen a program is submitted to the judge, the judge returns a verdict, which is a two-character string that appears in the string $S$ as a contiguous substring. (The judge can return any two-character substring of $S$.)\nDetermine whether the judge can return the string `AC` as the verdict to a program."},{"iden":"constraints","content":"*   $2 \\leq |S| \\leq 5$\n*   $S$ consists of uppercase English letters."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$S$"},{"iden":"sample input 1","content":"BACD"},{"iden":"sample output 1","content":"Yes\n\nThe string `AC` appears in `BACD` as a contiguous substring (the second and third characters)."},{"iden":"sample input 2","content":"ABCD"},{"iden":"sample output 2","content":"No\n\nAlthough the string `ABCD` contains both `A` and `C` (the first and third characters), the string `AC` does not appear in `ABCD` as a contiguous substring."},{"iden":"sample input 3","content":"CABD"},{"iden":"sample output 3","content":"No"},{"iden":"sample input 4","content":"ACACA"},{"iden":"sample output 4","content":"Yes"},{"iden":"sample input 5","content":"XX"},{"iden":"sample output 5","content":"No"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}