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