
import java.util.*;
import java.io.*;

import static java.lang.Character.isUpperCase;

public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);

        String str = in.next();



        if(str.equals("ABC"))
        {
            System.out.println("ARC");
        }
        else if(str.equals("ARC"))
        {
            System.out.println("ABC");
        }
        
        
        else{}
    }




    }



 import java.util.*; util.* java import java.io.*; io.* java import static java.lang.Character.isUpperCase; import static java.lang.Character.isUpperCase; import static java.lang.Character.isUpperCase; public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);

        String str = in.next();



        if(str.equals("ABC"))
        {
            System.out.println("ARC");
        }
        else if(str.equals("ARC"))
        {
            System.out.println("ABC");
        }
        
        
        else{}
    }




    } Main public static void main(String[] args) {

        Scanner in = new Scanner(System.in);

        String str = in.next();



        if(str.equals("ABC"))
        {
            System.out.println("ARC");
        }
        else if(str.equals("ARC"))
        {
            System.out.println("ABC");
        }
        
        
        else{}
    } main {

        Scanner in = new Scanner(System.in);

        String str = in.next();



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

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);

        String str = in.next();



        if(str.equals("ABC"))
        {
            System.out.println("ARC");
        }
        else if(str.equals("ARC"))
        {
            System.out.println("ABC");
        }
        
        
        else{}
    }




    } public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);

        String str = in.next();



        if(str.equals("ABC"))
        {
            System.out.println("ARC");
        }
        else if(str.equals("ARC"))
        {
            System.out.println("ABC");
        }
        
        
        else{}
    }




    } Main

import java.util.*;
import java.io.*;

import static java.lang.Character.isUpperCase;

public class Main {

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);

        String str = in.next();



        if(str.equals("ABC"))
        {
            System.out.println("ARC");
        }
        else if(str.equals("ARC"))
        {
            System.out.println("ABC");
        }
        
        
        else{}
    }




    }




