import java.util.Scanner;

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

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