
import java.util.Scanner;
import java.util.Arrays;
import java.util.stream.*;

public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        String x = scanner.next();

        if(x.contains("ABC")) System.out.println("ARC");
        else System.out.println("ABC");
    }
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util import java.util.stream.*; stream.* java.util public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        String x = scanner.next();

        if(x.contains("ABC")) System.out.println("ARC");
        else System.out.println("ABC");
    }
} Main public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        String x = scanner.next();

        if(x.contains("ABC")) System.out.println("ARC");
        else System.out.println("ABC");
    } main {
        //コード
        Scanner scanner = new Scanner(System.in);
        String x = scanner.next();

        if(x.contains("ABC")) System.out.println("ARC");
        else System.out.println("ABC");
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String x = scanner.next(); x scanner.next() scanner.next scanner if(x.contains("ABC")) System.out.println("ARC");
        else System.out.println("ABC"); x.contains("ABC") x.contains x "ABC" System.out.println("ARC") System.out.println System.out System System.out "ARC" 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 scanner = new Scanner(System.in);
        String x = scanner.next();

        if(x.contains("ABC")) System.out.println("ARC");
        else System.out.println("ABC");
    }
} public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        String x = scanner.next();

        if(x.contains("ABC")) System.out.println("ARC");
        else System.out.println("ABC");
    }
} Main

import java.util.Scanner;
import java.util.Arrays;
import java.util.stream.*;

public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);
        String x = scanner.next();

        if(x.contains("ABC")) System.out.println("ARC");
        else System.out.println("ABC");
    }
}
