"use strict";

function main(input) {
  input = input.split("");
  if (input[1] == "B") {
    console.log("ARC");
  } else {
    console.log("ABC");
  }
}

main(require("fs").readFileSync("/dev/stdin", "utf-8"));
