//package atcoder;
 
import java.util.*;
 
public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		if(S.contentEquals("ABC")) {
			System.out.println("ARC");
		}
		if(S.equals("ARC")) {
			System.out.println("ABC");
		}
	}
} import java.util.*; util.* java public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		if(S.contentEquals("ABC")) {
			System.out.println("ARC");
		}
		if(S.equals("ARC")) {
			System.out.println("ABC");
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		if(S.contentEquals("ABC")) {
			System.out.println("ARC");
		}
		if(S.equals("ARC")) {
			System.out.println("ABC");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		if(S.contentEquals("ABC")) {
			System.out.println("ARC");
		}
		if(S.equals("ARC")) {
			System.out.println("ABC");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S = sc.next(); S sc.next() sc.next sc if(S.contentEquals("ABC")) {
			System.out.println("ARC");
		} S.contentEquals("ABC") S.contentEquals S "ABC" {
			System.out.println("ARC");
		} System.out.println("ARC") System.out.println System.out System System.out "ARC" if(S.equals("ARC")) {
			System.out.println("ABC");
		} S.equals("ARC") S.equals S "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 sc = new Scanner(System.in);
		String S = sc.next();
		if(S.contentEquals("ABC")) {
			System.out.println("ARC");
		}
		if(S.equals("ARC")) {
			System.out.println("ABC");
		}
	}
} public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		if(S.contentEquals("ABC")) {
			System.out.println("ARC");
		}
		if(S.equals("ARC")) {
			System.out.println("ABC");
		}
	}
} Main
//package atcoder;
 
import java.util.*;
 
public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String S = sc.next();
		if(S.contentEquals("ABC")) {
			System.out.println("ARC");
		}
		if(S.equals("ARC")) {
			System.out.println("ABC");
		}
	}
}
