import java.util.*;

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

public class Main{
	public static void main(String arga[]){
		
		Scanner sc = new Scanner(System.in);
		String a = sc.next(); 
		String b = "ABC";
		String c = "ARC";
		
		if(a.equals(b)){
			System.out.println("ARC");
		}
		else if(a.equals(c)){
			System.out.println("ABC");
		}
		
	}
}
		