import java.util.*; 
import java.lang.*; 


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


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