import java.util.*;

class Main {
    public static void main (String[] args) {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        String B = "ABC";
        String R = "ARC";
        if (S.equals(B)) {
            System.out.println(R);
        } else {
            System.out.println(B);
        }
    }
} import java.util.*; util.* java class Main {
    public static void main (String[] args) {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        String B = "ABC";
        String R = "ARC";
        if (S.equals(B)) {
            System.out.println(R);
        } else {
            System.out.println(B);
        }
    }
} Main public static void main (String[] args) {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        String B = "ABC";
        String R = "ARC";
        if (S.equals(B)) {
            System.out.println(R);
        } else {
            System.out.println(B);
        }
    } main {
        Scanner sc = new Scanner(System.in);
        String S = sc.next();
        String B = "ABC";
        String R = "ARC";
        if (S.equals(B)) {
            System.out.println(R);
        } else {
            System.out.println(B);
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S = sc.next(); S sc.next() sc.next sc String B = "ABC"; B "ABC" String R = "ARC"; R "ARC" if (S.equals(B)) {
            System.out.println(R);
        } else {
            System.out.println(B);
        } S.equals(B) S.equals S B {
            System.out.println(R);
        } System.out.println(R) System.out.println System.out System System.out R {
            System.out.println(B);
        } System.out.println(B) System.out.println System.out System System.out B String[] args args
import java.util.*;

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