import java.util.Scanner;

public class Main {

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

		if ("ABC".equals(n)) {
			System.out.println("ARC");
		} else if ("ARC".equals(n)){
			System.out.println("ABC");
		}
		sc.close();
	}

} import java.util.Scanner; Scanner java.util public class Main {

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

		if ("ABC".equals(n)) {
			System.out.println("ARC");
		} else if ("ARC".equals(n)){
			System.out.println("ABC");
		}
		sc.close();
	}

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

		if ("ABC".equals(n)) {
			System.out.println("ARC");
		} else if ("ARC".equals(n)){
			System.out.println("ABC");
		}
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		String n = sc.next();

		if ("ABC".equals(n)) {
			System.out.println("ARC");
		} else if ("ARC".equals(n)){
			System.out.println("ABC");
		}
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String n = sc.next(); n sc.next() sc.next sc if ("ABC".equals(n)) {
			System.out.println("ARC");
		} else if ("ARC".equals(n)){
			System.out.println("ABC");
		} "ABC".equals(n) "ABC".equals "ABC" n {
			System.out.println("ARC");
		} System.out.println("ARC") System.out.println System.out System System.out "ARC" if ("ARC".equals(n)){
			System.out.println("ABC");
		} "ARC".equals(n) "ARC".equals "ARC" n {
			System.out.println("ABC");
		} System.out.println("ABC") System.out.println System.out System System.out "ABC" sc.close() sc.close sc String[] args args public class Main {

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

		if ("ABC".equals(n)) {
			System.out.println("ARC");
		} else if ("ARC".equals(n)){
			System.out.println("ABC");
		}
		sc.close();
	}

} public class Main {

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

		if ("ABC".equals(n)) {
			System.out.println("ARC");
		} else if ("ARC".equals(n)){
			System.out.println("ABC");
		}
		sc.close();
	}

} Main
import java.util.Scanner;

public class Main {

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

		if ("ABC".equals(n)) {
			System.out.println("ARC");
		} else if ("ARC".equals(n)){
			System.out.println("ABC");
		}
		sc.close();
	}

}
