'use strict';
const main = arg => {
  const input = arg.trim().split(' ');
  if (input[0] === "ABC") {
    console.log("ARC");
  } else {
    console.log("ABC");
  }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));