import java.io.PrintWriter

fun main() {
    val pw = PrintWriter(System.out)

    val s = readInputLine()

    pw.println(if (s == "ABC") "ARC" else "ABC")

    pw.flush()
}

fun readInputLine(): String {
    return readLine()!!
}
