import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        String s = stdIn.nextLine();
        if(s.equals("ABC")){
            System.out.println("ARC");
        }else if(s.equals("ARC")){
            System.out.println("ABC");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        String s = stdIn.nextLine();
        if(s.equals("ABC")){
            System.out.println("ARC");
        }else if(s.equals("ARC")){
            System.out.println("ABC");
        }
    }
} Main public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        String s = stdIn.nextLine();
        if(s.equals("ABC")){
            System.out.println("ARC");
        }else if(s.equals("ARC")){
            System.out.println("ABC");
        }
    } main {
        Scanner stdIn = new Scanner(System.in);
        String s = stdIn.nextLine();
        if(s.equals("ABC")){
            System.out.println("ARC");
        }else if(s.equals("ARC")){
            System.out.println("ABC");
        }
    } Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) String s = stdIn.nextLine(); s stdIn.nextLine() stdIn.nextLine stdIn if(s.equals("ABC")){
            System.out.println("ARC");
        }else if(s.equals("ARC")){
            System.out.println("ABC");
        } s.equals("ABC") s.equals s "ABC" {
            System.out.println("ARC");
        } 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("ABC") System.out.println System.out System System.out "ABC" String[] args args public class Main {
    public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        String s = stdIn.nextLine();
        if(s.equals("ABC")){
            System.out.println("ARC");
        }else if(s.equals("ARC")){
            System.out.println("ABC");
        }
    }
} public class Main {
    public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        String s = stdIn.nextLine();
        if(s.equals("ABC")){
            System.out.println("ARC");
        }else if(s.equals("ARC")){
            System.out.println("ABC");
        }
    }
} Main
import java.util.Scanner;

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