import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    public static void main(String []args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        if (s.equals("ABC"))
            System.out.println("ARC");
        else
            if(s.equals("ARC"))
                System.out.println("ABC");
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String []args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        if (s.equals("ABC"))
            System.out.println("ARC");
        else
            if(s.equals("ARC"))
                System.out.println("ABC");
    }
} Main public static void main(String []args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        if (s.equals("ABC"))
            System.out.println("ARC");
        else
            if(s.equals("ARC"))
                System.out.println("ABC");
    } main {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        if (s.equals("ABC"))
            System.out.println("ARC");
        else
            if(s.equals("ARC"))
                System.out.println("ABC");
    } BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String s = br.readLine(); s br.readLine() br.readLine br if (s.equals("ABC"))
            System.out.println("ARC");
        else
            if(s.equals("ARC"))
                System.out.println("ABC"); s.equals("ABC") s.equals s "ABC" System.out.println("ARC") System.out.println System.out System System.out "ARC" if(s.equals("ARC"))
                System.out.println("ABC"); s.equals("ARC") s.equals s "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) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        if (s.equals("ABC"))
            System.out.println("ARC");
        else
            if(s.equals("ARC"))
                System.out.println("ABC");
    }
} public class Main {
    public static void main(String []args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        if (s.equals("ABC"))
            System.out.println("ARC");
        else
            if(s.equals("ARC"))
                System.out.println("ABC");
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    public static void main(String []args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        if (s.equals("ABC"))
            System.out.println("ARC");
        else
            if(s.equals("ARC"))
                System.out.println("ABC");
    }
}
