import java.util.*;
import java.math.*;

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

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