import java.util.Objects;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        System.out.println(problem166a(s));
    }

    private static String problem166a(String s) {
        return (Objects.equals(s, "ABC")) ? "ARC" : "ABC";
    }
} import java.util.Objects; Objects java.util import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        System.out.println(problem166a(s));
    }

    private static String problem166a(String s) {
        return (Objects.equals(s, "ABC")) ? "ARC" : "ABC";
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        System.out.println(problem166a(s));
    } main {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        System.out.println(problem166a(s));
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.nextLine(); s sc.nextLine() sc.nextLine sc System.out.println(problem166a(s)) System.out.println System.out System System.out problem166a(s) problem166a s String[] args args private static String problem166a(String s) {
        return (Objects.equals(s, "ABC")) ? "ARC" : "ABC";
    } problem166a {
        return (Objects.equals(s, "ABC")) ? "ARC" : "ABC";
    } return (Objects.equals(s, "ABC")) ? "ARC" : "ABC"; (Objects.equals(s, "ABC")) ? "ARC" : "ABC" (Objects.equals(s, "ABC")) Objects.equals Objects s "ABC" "ARC" "ABC" String s s public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        System.out.println(problem166a(s));
    }

    private static String problem166a(String s) {
        return (Objects.equals(s, "ABC")) ? "ARC" : "ABC";
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        System.out.println(problem166a(s));
    }

    private static String problem166a(String s) {
        return (Objects.equals(s, "ABC")) ? "ARC" : "ABC";
    }
} Main
import java.util.Objects;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        System.out.println(problem166a(s));
    }

    private static String problem166a(String s) {
        return (Objects.equals(s, "ABC")) ? "ARC" : "ABC";
    }
}