import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		String s = in.next();
		String r = solve(s);
		System.out.println(r);
	}

	private static String solve(String s) {
		if (s.equals("ABC"))
			return "ARC";
		else
			return "ABC";
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		String s = in.next();
		String r = solve(s);
		System.out.println(r);
	}

	private static String solve(String s) {
		if (s.equals("ABC"))
			return "ARC";
		else
			return "ABC";
	}
} Main public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		String s = in.next();
		String r = solve(s);
		System.out.println(r);
	} main {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		String s = in.next();
		String r = solve(s);
		System.out.println(r);
	} Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in))); in new Scanner(new BufferedReader(new InputStreamReader(System.in))) String s = in.next(); s in.next() in.next in String r = solve(s); r solve(s) solve s System.out.println(r) System.out.println System.out System System.out r String[] args args private static String solve(String s) {
		if (s.equals("ABC"))
			return "ARC";
		else
			return "ABC";
	} solve {
		if (s.equals("ABC"))
			return "ARC";
		else
			return "ABC";
	} if (s.equals("ABC"))
			return "ARC";
		else
			return "ABC"; s.equals("ABC") s.equals s "ABC" return "ARC"; "ARC" return "ABC"; "ABC" String s s public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		String s = in.next();
		String r = solve(s);
		System.out.println(r);
	}

	private static String solve(String s) {
		if (s.equals("ABC"))
			return "ARC";
		else
			return "ABC";
	}
} public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		String s = in.next();
		String r = solve(s);
		System.out.println(r);
	}

	private static String solve(String s) {
		if (s.equals("ABC"))
			return "ARC";
		else
			return "ABC";
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		String s = in.next();
		String r = solve(s);
		System.out.println(r);
	}

	private static String solve(String s) {
		if (s.equals("ABC"))
			return "ARC";
		else
			return "ABC";
	}
}