"use strict";
const Main = input => {
    if(input[1] === "B") {
        console.log("ARC");
    }
  	if(input[1] === "ARC") {
        console.log("ABC");
    }
}
 
Main(require("fs").readFileSync("/dev/stdin", "utf8"));