import java.util.*;
import java.math.*;
     
class Main{
    public static void main(String[] args) {
        
        try(Scanner sc = new Scanner(System.in)){

            String str = sc.next();

            String ans = "";
            if(str.equals("ABC")) ans = "ARC";
            else ans = "ABC";
            
            System.out.println(ans);

        }catch(Exception e){
            e.printStackTrace();
        }        
    }
} import java.util.*; util.* java import java.math.*; math.* java class Main{
    public static void main(String[] args) {
        
        try(Scanner sc = new Scanner(System.in)){

            String str = sc.next();

            String ans = "";
            if(str.equals("ABC")) ans = "ARC";
            else ans = "ABC";
            
            System.out.println(ans);

        }catch(Exception e){
            e.printStackTrace();
        }        
    }
} Main public static void main(String[] args) {
        
        try(Scanner sc = new Scanner(System.in)){

            String str = sc.next();

            String ans = "";
            if(str.equals("ABC")) ans = "ARC";
            else ans = "ABC";
            
            System.out.println(ans);

        }catch(Exception e){
            e.printStackTrace();
        }        
    } main {
        
        try(Scanner sc = new Scanner(System.in)){

            String str = sc.next();

            String ans = "";
            if(str.equals("ABC")) ans = "ARC";
            else ans = "ABC";
            
            System.out.println(ans);

        }catch(Exception e){
            e.printStackTrace();
        }        
    } try(Scanner sc = new Scanner(System.in)){

            String str = sc.next();

            String ans = "";
            if(str.equals("ABC")) ans = "ARC";
            else ans = "ABC";
            
            System.out.println(ans);

        }catch(Exception e){
            e.printStackTrace();
        } catch(Exception e){
            e.printStackTrace();
        } Exception e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {

            String str = sc.next();

            String ans = "";
            if(str.equals("ABC")) ans = "ARC";
            else ans = "ABC";
            
            System.out.println(ans);

        } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) String str = sc.next(); str sc.next() sc.next sc String ans = ""; ans "" if(str.equals("ABC")) ans = "ARC";
            else ans = "ABC"; str.equals("ABC") str.equals str "ABC" ans = "ARC" ans "ARC" ans = "ABC" ans "ABC" System.out.println(ans) System.out.println System.out System System.out ans String[] args args
import java.util.*;
import java.math.*;
     
class Main{
    public static void main(String[] args) {
        
        try(Scanner sc = new Scanner(System.in)){

            String str = sc.next();

            String ans = "";
            if(str.equals("ABC")) ans = "ARC";
            else ans = "ABC";
            
            System.out.println(ans);

        }catch(Exception e){
            e.printStackTrace();
        }        
    }
}