import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String S = scan.nextLine();
		String abc ="ABC";
		String arc ="ARC";
		
		if(S.equals(abc)) {
			System.out.println(arc);
		}else {
			System.out.println(abc);
		}
		
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String S = scan.nextLine();
		String abc ="ABC";
		String arc ="ARC";
		
		if(S.equals(abc)) {
			System.out.println(arc);
		}else {
			System.out.println(abc);
		}
		
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String S = scan.nextLine();
		String abc ="ABC";
		String arc ="ARC";
		
		if(S.equals(abc)) {
			System.out.println(arc);
		}else {
			System.out.println(abc);
		}
		
	} main {
		Scanner scan = new Scanner(System.in);
		String S = scan.nextLine();
		String abc ="ABC";
		String arc ="ARC";
		
		if(S.equals(abc)) {
			System.out.println(arc);
		}else {
			System.out.println(abc);
		}
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String S = scan.nextLine(); S scan.nextLine() scan.nextLine scan String abc ="ABC"; abc "ABC" String arc ="ARC"; arc "ARC" if(S.equals(abc)) {
			System.out.println(arc);
		}else {
			System.out.println(abc);
		} S.equals(abc) S.equals S abc {
			System.out.println(arc);
		} System.out.println(arc) System.out.println System.out System System.out arc {
			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 scan = new Scanner(System.in);
		String S = scan.nextLine();
		String abc ="ABC";
		String arc ="ARC";
		
		if(S.equals(abc)) {
			System.out.println(arc);
		}else {
			System.out.println(abc);
		}
		
	}

} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String S = scan.nextLine();
		String abc ="ABC";
		String arc ="ARC";
		
		if(S.equals(abc)) {
			System.out.println(arc);
		}else {
			System.out.println(abc);
		}
		
	}

} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String S = scan.nextLine();
		String abc ="ABC";
		String arc ="ARC";
		
		if(S.equals(abc)) {
			System.out.println(arc);
		}else {
			System.out.println(abc);
		}
		
	}

}