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