import java.util.Scanner;

public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();

        if(str.equals("ABC")){
            str = "ARC";
        } else{
            str = "ABC";
        }

        System.out.println(str);
        sc.close();
        
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();

        if(str.equals("ABC")){
            str = "ARC";
        } else{
            str = "ABC";
        }

        System.out.println(str);
        sc.close();
        
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();

        if(str.equals("ABC")){
            str = "ARC";
        } else{
            str = "ABC";
        }

        System.out.println(str);
        sc.close();
        
    } main {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();

        if(str.equals("ABC")){
            str = "ARC";
        } else{
            str = "ABC";
        }

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

        if(str.equals("ABC")){
            str = "ARC";
        } else{
            str = "ABC";
        }

        System.out.println(str);
        sc.close();
        
    }
} public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();

        if(str.equals("ABC")){
            str = "ARC";
        } else{
            str = "ABC";
        }

        System.out.println(str);
        sc.close();
        
    }
} Main
import java.util.Scanner;

public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();

        if(str.equals("ABC")){
            str = "ARC";
        } else{
            str = "ABC";
        }

        System.out.println(str);
        sc.close();
        
    }
}