import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        String Ans = null;
        if(S.equals("ABC")){
            Ans = "ARC";
        } else {
            Ans = "ABC";
        }
        
        System.out.println(Ans);
        
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        String Ans = null;
        if(S.equals("ABC")){
            Ans = "ARC";
        } else {
            Ans = "ABC";
        }
        
        System.out.println(Ans);
        
    }
} Main public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        String Ans = null;
        if(S.equals("ABC")){
            Ans = "ARC";
        } else {
            Ans = "ABC";
        }
        
        System.out.println(Ans);
        
    } main {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        String Ans = null;
        if(S.equals("ABC")){
            Ans = "ARC";
        } else {
            Ans = "ABC";
        }
        
        System.out.println(Ans);
        
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S = sc.next(); S sc.next() sc.next sc String Ans = null; Ans null if(S.equals("ABC")){
            Ans = "ARC";
        } else {
            Ans = "ABC";
        } S.equals("ABC") S.equals S "ABC" {
            Ans = "ARC";
        } Ans = "ARC" Ans "ARC" {
            Ans = "ABC";
        } Ans = "ABC" Ans "ABC" System.out.println(Ans) System.out.println System.out System System.out Ans String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        String Ans = null;
        if(S.equals("ABC")){
            Ans = "ARC";
        } else {
            Ans = "ABC";
        }
        
        System.out.println(Ans);
        
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        String Ans = null;
        if(S.equals("ABC")){
            Ans = "ARC";
        } else {
            Ans = "ABC";
        }
        
        System.out.println(Ans);
        
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        String Ans = null;
        if(S.equals("ABC")){
            Ans = "ARC";
        } else {
            Ans = "ABC";
        }
        
        System.out.println(Ans);
        
    }
}
