function Main(_input) {
    const lines = _input.split("\n");
    const prev = lines[0];
    const next = prev === 'ABC' ? 'ARC' : 'ABC';
    //出力
    console.log(next);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));