import java.util.Scanner;

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

		String s = sc.next();
		String st1 = "ABC";
		String st2 = "ARC";

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

		String s = sc.next();
		String st1 = "ABC";
		String st2 = "ARC";

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

		String s = sc.next();
		String st1 = "ABC";
		String st2 = "ARC";

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

		String s = sc.next();
		String st1 = "ABC";
		String st2 = "ARC";

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

		String s = sc.next();
		String st1 = "ABC";
		String st2 = "ARC";

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

		String s = sc.next();
		String st1 = "ABC";
		String st2 = "ARC";

		if(s.equals(st1)) {
			System.out.println("ARC");
		}else if(s.equals(st2)){
			System.out.println("ABC");
		}
	}
} Main
import java.util.Scanner;

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

		String s = sc.next();
		String st1 = "ABC";
		String st2 = "ARC";

		if(s.equals(st1)) {
			System.out.println("ARC");
		}else if(s.equals(st2)){
			System.out.println("ABC");
		}
	}
}
