{"problem":{"name":"Chord","description":{"content":"Given a length-$3$ string $S$ consisting of uppercase English letters, print `Yes` if $S$ equals one of `ACE`, `BDF`, `CEG`, `DFA`, `EGB`, `FAC`, and `GBD`; print `No` otherwise.","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc312_a"},"statements":[{"statement_type":"Markdown","content":"Given a length-$3$ string $S$ consisting of uppercase English letters, print `Yes` if $S$ equals one of `ACE`, `BDF`, `CEG`, `DFA`, `EGB`, `FAC`, and `GBD`; print `No` otherwise.\n\n## Constraints\n\n*   $S$ is a length-$3$ string consisting of uppercase English letters.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$S$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc312_a","tags":[],"sample_group":[["ABC","No\n\nWhen $S =$ `ABC`, $S$ does not equal any of `ACE`, `BDF`, `CEG`, `DFA`, `EGB`, `FAC`, and `GBD`, so `No` should be printed."],["FAC","Yes"],["XYX","No"]],"created_at":"2026-03-03 11:01:14"}}