function Main(input) {
    s = input;

    if (s == "ABC") {
        console.log("ARC");
        
    } else{
        console.log("ABC");
    }

}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));