import java.util.Scanner;

public class Main {

	static final String s1 = "ABC";
	static final String s2 = "ARC";

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		if (s.equals(s1)) {
			System.out.println(s2);
		} else {
			System.out.println(s1);
		}

	}

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

	static final String s1 = "ABC";
	static final String s2 = "ARC";

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		if (s.equals(s1)) {
			System.out.println(s2);
		} else {
			System.out.println(s1);
		}

	}

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

	} main {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		if (s.equals(s1)) {
			System.out.println(s2);
		} else {
			System.out.println(s1);
		}

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc if (s.equals(s1)) {
			System.out.println(s2);
		} else {
			System.out.println(s1);
		} s.equals(s1) s.equals s s1 {
			System.out.println(s2);
		} System.out.println(s2) System.out.println System.out System System.out s2 {
			System.out.println(s1);
		} System.out.println(s1) System.out.println System.out System System.out s1 String[] args args public class Main {

	static final String s1 = "ABC";
	static final String s2 = "ARC";

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		if (s.equals(s1)) {
			System.out.println(s2);
		} else {
			System.out.println(s1);
		}

	}

} public class Main {

	static final String s1 = "ABC";
	static final String s2 = "ARC";

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		if (s.equals(s1)) {
			System.out.println(s2);
		} else {
			System.out.println(s1);
		}

	}

} Main
import java.util.Scanner;

public class Main {

	static final String s1 = "ABC";
	static final String s2 = "ARC";

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		if (s.equals(s1)) {
			System.out.println(s2);
		} else {
			System.out.println(s1);
		}

	}

}
