{"problem":{"name":"Can you get AC?","description":{"content":"Snuke built an online judge to hold a programming contest. When 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 co","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"code_festival_2017_qualc_a"},"statements":[{"statement_type":"Markdown","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.\n\n## Constraints\n\n*   $2 \\leq |S| \\leq 5$\n*   $S$ consists of uppercase English letters.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$S$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"code_festival_2017_qualc_a","tags":[],"sample_group":[["BACD","Yes\n\nThe string `AC` appears in `BACD` as a contiguous substring (the second and third characters)."],["ABCD","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."],["CABD","No"],["ACACA","Yes"],["XX","No"]],"created_at":"2026-03-03 11:01:14"}}