import java.io.*;
import java.util.*;

class Main{
    public static void main(String args[])throws IOException{
      try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String str = br.readLine();

          if(str.equals("ABC")){
            System.out.println("ARC");
          }else if(str.equals("ARC")){
            System.out.println("ABC");
          }

      }
    }
} import java.io.*; io.* java import java.util.*; util.* java class Main{
    public static void main(String args[])throws IOException{
      try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String str = br.readLine();

          if(str.equals("ABC")){
            System.out.println("ARC");
          }else if(str.equals("ARC")){
            System.out.println("ABC");
          }

      }
    }
} Main public static void main(String args[])throws IOException{
      try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String str = br.readLine();

          if(str.equals("ABC")){
            System.out.println("ARC");
          }else if(str.equals("ARC")){
            System.out.println("ABC");
          }

      }
    } main {
      try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String str = br.readLine();

          if(str.equals("ABC")){
            System.out.println("ARC");
          }else if(str.equals("ARC")){
            System.out.println("ABC");
          }

      }
    } try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String str = br.readLine();

          if(str.equals("ABC")){
            System.out.println("ARC");
          }else if(str.equals("ARC")){
            System.out.println("ABC");
          }

      } {
          String str = br.readLine();

          if(str.equals("ABC")){
            System.out.println("ARC");
          }else if(str.equals("ARC")){
            System.out.println("ABC");
          }

      } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br if(str.equals("ABC")){
            System.out.println("ARC");
          }else if(str.equals("ARC")){
            System.out.println("ABC");
          } str.equals("ABC") str.equals str "ABC" {
            System.out.println("ARC");
          } System.out.println("ARC") System.out.println System.out System System.out "ARC" if(str.equals("ARC")){
            System.out.println("ABC");
          } str.equals("ARC") str.equals str "ARC" {
            System.out.println("ABC");
          } System.out.println("ABC") System.out.println System.out System System.out "ABC" String args[] args
import java.io.*;
import java.util.*;

class Main{
    public static void main(String args[])throws IOException{
      try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String str = br.readLine();

          if(str.equals("ABC")){
            System.out.println("ARC");
          }else if(str.equals("ARC")){
            System.out.println("ABC");
          }

      }
    }
}