function Main(input) {
 const s = input;
  const abc = 'ABC';
  const arc = 'ARC';
  if(s === arc){
    console.log(abc);
  } else {
    console.log(arc);
  }
}
 
 
Main(require("fs").readFileSync("/dev/stdin", "utf8"));