import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        String S = scan.nextLine();
        switch (S){
            case "ABC":
                System.out.println("ARC");
                break;
            case "ARC":
                System.out.println("ABC");
                break;
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        String S = scan.nextLine();
        switch (S){
            case "ABC":
                System.out.println("ARC");
                break;
            case "ARC":
                System.out.println("ABC");
                break;
        }
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        String S = scan.nextLine();
        switch (S){
            case "ABC":
                System.out.println("ARC");
                break;
            case "ARC":
                System.out.println("ABC");
                break;
        }
    } main {
        Scanner scan = new Scanner(System.in);
        String S = scan.nextLine();
        switch (S){
            case "ABC":
                System.out.println("ARC");
                break;
            case "ARC":
                System.out.println("ABC");
                break;
        }
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String S = scan.nextLine(); S scan.nextLine() scan.nextLine scan switch (S){
            case "ABC":
                System.out.println("ARC");
                break;
            case "ARC":
                System.out.println("ABC");
                break;
        } S case "ABC": "ABC" case "ABC": System.out.println("ARC") System.out.println System.out System System.out "ARC" break; case "ARC": "ARC" case "ARC": System.out.println("ABC") System.out.println System.out System System.out "ABC" break; String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        String S = scan.nextLine();
        switch (S){
            case "ABC":
                System.out.println("ARC");
                break;
            case "ARC":
                System.out.println("ABC");
                break;
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        String S = scan.nextLine();
        switch (S){
            case "ABC":
                System.out.println("ARC");
                break;
            case "ARC":
                System.out.println("ABC");
                break;
        }
    }
} Main
import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        String S = scan.nextLine();
        switch (S){
            case "ABC":
                System.out.println("ARC");
                break;
            case "ARC":
                System.out.println("ABC");
                break;
        }
    }
}