import java.util.Scanner;

public class Main {

	private static final String ABC = "ABC";
	private static final String ARC = "ARC";

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			String s = scanner.next();
			System.out.println((ABC.equals(s)) ? ARC : ABC);
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

	private static final String ABC = "ABC";
	private static final String ARC = "ARC";

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			String s = scanner.next();
			System.out.println((ABC.equals(s)) ? ARC : ABC);
		}
	}
} Main private static final String ABC = "ABC"; ABC "ABC" private static final String ARC = "ARC"; ARC "ARC" public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			String s = scanner.next();
			System.out.println((ABC.equals(s)) ? ARC : ABC);
		}
	} main {
		try (Scanner scanner = new Scanner(System.in)) {
			String s = scanner.next();
			System.out.println((ABC.equals(s)) ? ARC : ABC);
		}
	} try (Scanner scanner = new Scanner(System.in)) {
			String s = scanner.next();
			System.out.println((ABC.equals(s)) ? ARC : ABC);
		} {
			String s = scanner.next();
			System.out.println((ABC.equals(s)) ? ARC : ABC);
		} Scanner scanner = new Scanner(System.in) Scanner scanner = new Scanner(System.in) new Scanner(System.in) String s = scanner.next(); s scanner.next() scanner.next scanner System.out.println((ABC.equals(s)) ? ARC : ABC) System.out.println System.out System System.out (ABC.equals(s)) ? ARC : ABC (ABC.equals(s)) ABC.equals ABC s ARC ABC String[] args args public class Main {

	private static final String ABC = "ABC";
	private static final String ARC = "ARC";

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			String s = scanner.next();
			System.out.println((ABC.equals(s)) ? ARC : ABC);
		}
	}
} public class Main {

	private static final String ABC = "ABC";
	private static final String ARC = "ARC";

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			String s = scanner.next();
			System.out.println((ABC.equals(s)) ? ARC : ABC);
		}
	}
} Main
import java.util.Scanner;

public class Main {

	private static final String ABC = "ABC";
	private static final String ARC = "ARC";

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			String s = scanner.next();
			System.out.println((ABC.equals(s)) ? ARC : ABC);
		}
	}
}
