

import java.util.Scanner;

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


import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        // System.out.println("Hello Java");
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        if (s.equals("ABC"))
            System.out.println("ARC");
        if (s.equals("ARC"))
            System.out.println("ABC");
        sc.close();
    }
}