import java.util.*;
 
public class Main{
 
  public static void main(String args[])
  {
		
    Scanner s = new Scanner (System.in);
    String input=s.next();
    
    if(input.contains("ABC"))
      System.out.println("ARC");
   	else 
       System.out.println("ABC");
    
    
    
 
  }
 
 
} import java.util.*; util.* java public class Main{
 
  public static void main(String args[])
  {
		
    Scanner s = new Scanner (System.in);
    String input=s.next();
    
    if(input.contains("ABC"))
      System.out.println("ARC");
   	else 
       System.out.println("ABC");
    
    
    
 
  }
 
 
} Main public static void main(String args[])
  {
		
    Scanner s = new Scanner (System.in);
    String input=s.next();
    
    if(input.contains("ABC"))
      System.out.println("ARC");
   	else 
       System.out.println("ABC");
    
    
    
 
  } main {
		
    Scanner s = new Scanner (System.in);
    String input=s.next();
    
    if(input.contains("ABC"))
      System.out.println("ARC");
   	else 
       System.out.println("ABC");
    
    
    
 
  } Scanner s = new Scanner (System.in); s new Scanner (System.in) String input=s.next(); input s.next() s.next s if(input.contains("ABC"))
      System.out.println("ARC");
   	else 
       System.out.println("ABC"); input.contains("ABC") input.contains input "ABC" System.out.println("ARC") System.out.println System.out System System.out "ARC" System.out.println("ABC") System.out.println System.out System System.out "ABC" String args[] args public class Main{
 
  public static void main(String args[])
  {
		
    Scanner s = new Scanner (System.in);
    String input=s.next();
    
    if(input.contains("ABC"))
      System.out.println("ARC");
   	else 
       System.out.println("ABC");
    
    
    
 
  }
 
 
} public class Main{
 
  public static void main(String args[])
  {
		
    Scanner s = new Scanner (System.in);
    String input=s.next();
    
    if(input.contains("ABC"))
      System.out.println("ARC");
   	else 
       System.out.println("ABC");
    
    
    
 
  }
 
 
} Main
import java.util.*;
 
public class Main{
 
  public static void main(String args[])
  {
		
    Scanner s = new Scanner (System.in);
    String input=s.next();
    
    if(input.contains("ABC"))
      System.out.println("ARC");
   	else 
       System.out.println("ABC");
    
    
    
 
  }
 
 
}