import java.util.Scanner;

public class Main {
  
  public static void main(String[] args){
    Scanner scan =new Scanner(System.in);
    String n=scan.next();
    
    if(n.equals("ABC")){
      System.out.println("ARC");
    }else if(n.equals("ARC")){
      System.out.println("ABC");
    }
  }
} import java.util.Scanner; Scanner java.util public class Main {
  
  public static void main(String[] args){
    Scanner scan =new Scanner(System.in);
    String n=scan.next();
    
    if(n.equals("ABC")){
      System.out.println("ARC");
    }else if(n.equals("ARC")){
      System.out.println("ABC");
    }
  }
} Main public static void main(String[] args){
    Scanner scan =new Scanner(System.in);
    String n=scan.next();
    
    if(n.equals("ABC")){
      System.out.println("ARC");
    }else if(n.equals("ARC")){
      System.out.println("ABC");
    }
  } main {
    Scanner scan =new Scanner(System.in);
    String n=scan.next();
    
    if(n.equals("ABC")){
      System.out.println("ARC");
    }else if(n.equals("ARC")){
      System.out.println("ABC");
    }
  } Scanner scan =new Scanner(System.in); scan new Scanner(System.in) String n=scan.next(); n scan.next() scan.next scan if(n.equals("ABC")){
      System.out.println("ARC");
    }else if(n.equals("ARC")){
      System.out.println("ABC");
    } n.equals("ABC") n.equals n "ABC" {
      System.out.println("ARC");
    } System.out.println("ARC") System.out.println System.out System System.out "ARC" if(n.equals("ARC")){
      System.out.println("ABC");
    } n.equals("ARC") n.equals n "ARC" {
      System.out.println("ABC");
    } 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 scan =new Scanner(System.in);
    String n=scan.next();
    
    if(n.equals("ABC")){
      System.out.println("ARC");
    }else if(n.equals("ARC")){
      System.out.println("ABC");
    }
  }
} public class Main {
  
  public static void main(String[] args){
    Scanner scan =new Scanner(System.in);
    String n=scan.next();
    
    if(n.equals("ABC")){
      System.out.println("ARC");
    }else if(n.equals("ARC")){
      System.out.println("ABC");
    }
  }
} Main
import java.util.Scanner;

public class Main {
  
  public static void main(String[] args){
    Scanner scan =new Scanner(System.in);
    String n=scan.next();
    
    if(n.equals("ABC")){
      System.out.println("ARC");
    }else if(n.equals("ARC")){
      System.out.println("ABC");
    }
  }
}