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

        String compet = in.nextLine();

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

        String compet = in.nextLine();

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

        String compet = in.nextLine();

        if(compet.equals("ABC"))
        System.out.println("ARC");
       else if(compet.equals("ARC"))
        System.out.println("ABC");
        
        
    } main {
        Scanner in = new Scanner(System.in);
       

        String compet = in.nextLine();

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

        String compet = in.nextLine();

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