import java.util.Scanner;

public class Main{

	public static void main(String[] args){

		Scanner scan01 = new Scanner(System.in);
		String str = scan01.next();

		String abc = "ABC";
		String arc = "ARC";

		if(str.equals(abc)){
			System.out.println("ARC");
		}else if(str.equals(arc)){
			System.out.println("ABC");
		}
			scan01.close();
	}
} import java.util.Scanner; Scanner java.util public class Main{

	public static void main(String[] args){

		Scanner scan01 = new Scanner(System.in);
		String str = scan01.next();

		String abc = "ABC";
		String arc = "ARC";

		if(str.equals(abc)){
			System.out.println("ARC");
		}else if(str.equals(arc)){
			System.out.println("ABC");
		}
			scan01.close();
	}
} Main public static void main(String[] args){

		Scanner scan01 = new Scanner(System.in);
		String str = scan01.next();

		String abc = "ABC";
		String arc = "ARC";

		if(str.equals(abc)){
			System.out.println("ARC");
		}else if(str.equals(arc)){
			System.out.println("ABC");
		}
			scan01.close();
	} main {

		Scanner scan01 = new Scanner(System.in);
		String str = scan01.next();

		String abc = "ABC";
		String arc = "ARC";

		if(str.equals(abc)){
			System.out.println("ARC");
		}else if(str.equals(arc)){
			System.out.println("ABC");
		}
			scan01.close();
	} Scanner scan01 = new Scanner(System.in); scan01 new Scanner(System.in) String str = scan01.next(); str scan01.next() scan01.next scan01 String abc = "ABC"; abc "ABC" String arc = "ARC"; arc "ARC" if(str.equals(abc)){
			System.out.println("ARC");
		}else if(str.equals(arc)){
			System.out.println("ABC");
		} str.equals(abc) str.equals str abc {
			System.out.println("ARC");
		} System.out.println("ARC") System.out.println System.out System System.out "ARC" if(str.equals(arc)){
			System.out.println("ABC");
		} str.equals(arc) str.equals str arc {
			System.out.println("ABC");
		} System.out.println("ABC") System.out.println System.out System System.out "ABC" scan01.close() scan01.close scan01 String[] args args public class Main{

	public static void main(String[] args){

		Scanner scan01 = new Scanner(System.in);
		String str = scan01.next();

		String abc = "ABC";
		String arc = "ARC";

		if(str.equals(abc)){
			System.out.println("ARC");
		}else if(str.equals(arc)){
			System.out.println("ABC");
		}
			scan01.close();
	}
} public class Main{

	public static void main(String[] args){

		Scanner scan01 = new Scanner(System.in);
		String str = scan01.next();

		String abc = "ABC";
		String arc = "ARC";

		if(str.equals(abc)){
			System.out.println("ARC");
		}else if(str.equals(arc)){
			System.out.println("ABC");
		}
			scan01.close();
	}
} Main
import java.util.Scanner;

public class Main{

	public static void main(String[] args){

		Scanner scan01 = new Scanner(System.in);
		String str = scan01.next();

		String abc = "ABC";
		String arc = "ARC";

		if(str.equals(abc)){
			System.out.println("ARC");
		}else if(str.equals(arc)){
			System.out.println("ABC");
		}
			scan01.close();
	}
}