import java.util.*;

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

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