import java.nio.channels.AsynchronousByteChannel;
import java.util.Scanner;
public class Main {

    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
String K= scan.next();

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

        
    }
} import java.nio.channels.AsynchronousByteChannel; AsynchronousByteChannel java.nio.channels import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
String K= scan.next();

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

        
    }
} Main public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
String K= scan.next();

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

        
    } main {
        Scanner scan=new Scanner(System.in);
String K= scan.next();

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

        
    } Scanner scan=new Scanner(System.in); scan new Scanner(System.in) String K= scan.next(); K scan.next() scan.next scan if (K.equals("ABC")){System.out.println("ARC");} K.equals("ABC") K.equals K "ABC" {System.out.println("ARC");} System.out.println("ARC") System.out.println System.out System System.out "ARC" if (K.equals("ARC")){System.out.println("ABC");} K.equals("ARC") K.equals K "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 scan=new Scanner(System.in);
String K= scan.next();

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

        
    }
} public class Main {

    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
String K= scan.next();

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

        
    }
} Main
import java.nio.channels.AsynchronousByteChannel;
import java.util.Scanner;
public class Main {

    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
String K= scan.next();

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

        
    }
}
