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