import java.util.Scanner

object Main {
  def main(args:Array[String]) = {
    val sc = new java.util.Scanner(System.in)
    val s = sc.next
    
    
    
    s match{
    case "ARC" => println("ABC")
    case "ABC" => println("ARC")
    }
  }
}
