object Main {
  def main(args: Array[String]): Unit = {
    import scala.io.StdIn.readLine
    val datS = readLine.split(" ").head

    val ans = if(datS == "ABC") "ARC" else "ABC"

    println(ans)
  }
}
