{"raw_statement":[{"iden":"problem statement","content":"You are given a string $S$. Each character of $S$ is uppercase or lowercase English letter. Determine if $S$ satisfies all of the following conditions:\n\n*   The initial character of $S$ is an uppercase `A`.\n*   There is exactly one occurrence of `C` between the third character from the beginning and the second to last character (inclusive).\n*   All letters except the `A` and `C` mentioned above are lowercase."},{"iden":"constraints","content":"*   $4 ≤ |S| ≤ 10$ ($|S|$ is the length of the string $S$.)\n*   Each character of $S$ is uppercase or lowercase English letter."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$S$"},{"iden":"sample input 1","content":"AtCoder"},{"iden":"sample output 1","content":"AC\n\nThe first letter is `A`, the third letter is `C` and the remaining letters are all lowercase, so all the conditions are satisfied."},{"iden":"sample input 2","content":"ACoder"},{"iden":"sample output 2","content":"WA\n\nThe second letter should not be `C`."},{"iden":"sample input 3","content":"AcycliC"},{"iden":"sample output 3","content":"WA\n\nThe last letter should not be `C`, either."},{"iden":"sample input 4","content":"AtCoCo"},{"iden":"sample output 4","content":"WA\n\nThere should not be two or more occurrences of `C`."},{"iden":"sample input 5","content":"Atcoder"},{"iden":"sample output 5","content":"WA\n\nThe number of `C` should not be zero, either."}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}