import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    /** constance */
    String conABC = "ABC";
    String conARC = "ARC";
      
    /** Scanner */
    Scanner sc = new Scanner(System.in);
    
    /** input */
    String lastHolded = sc.next();

    if(lastHolded.equals(conABC)){
      System.out.println(conARC);
    } else {
      System.out.println(conABC);
    }

  }
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args) {
    /** constance */
    String conABC = "ABC";
    String conARC = "ARC";
      
    /** Scanner */
    Scanner sc = new Scanner(System.in);
    
    /** input */
    String lastHolded = sc.next();

    if(lastHolded.equals(conABC)){
      System.out.println(conARC);
    } else {
      System.out.println(conABC);
    }

  }
} Main public static void main(String[] args) {
    /** constance */
    String conABC = "ABC";
    String conARC = "ARC";
      
    /** Scanner */
    Scanner sc = new Scanner(System.in);
    
    /** input */
    String lastHolded = sc.next();

    if(lastHolded.equals(conABC)){
      System.out.println(conARC);
    } else {
      System.out.println(conABC);
    }

  } main {
    /** constance */
    String conABC = "ABC";
    String conARC = "ARC";
      
    /** Scanner */
    Scanner sc = new Scanner(System.in);
    
    /** input */
    String lastHolded = sc.next();

    if(lastHolded.equals(conABC)){
      System.out.println(conARC);
    } else {
      System.out.println(conABC);
    }

  } String conABC = "ABC"; conABC "ABC" String conARC = "ARC"; conARC "ARC" Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String lastHolded = sc.next(); lastHolded sc.next() sc.next sc if(lastHolded.equals(conABC)){
      System.out.println(conARC);
    } else {
      System.out.println(conABC);
    } lastHolded.equals(conABC) lastHolded.equals lastHolded conABC {
      System.out.println(conARC);
    } System.out.println(conARC) System.out.println System.out System System.out conARC {
      System.out.println(conABC);
    } System.out.println(conABC) System.out.println System.out System System.out conABC String[] args args public class Main {
  public static void main(String[] args) {
    /** constance */
    String conABC = "ABC";
    String conARC = "ARC";
      
    /** Scanner */
    Scanner sc = new Scanner(System.in);
    
    /** input */
    String lastHolded = sc.next();

    if(lastHolded.equals(conABC)){
      System.out.println(conARC);
    } else {
      System.out.println(conABC);
    }

  }
} public class Main {
  public static void main(String[] args) {
    /** constance */
    String conABC = "ABC";
    String conARC = "ARC";
      
    /** Scanner */
    Scanner sc = new Scanner(System.in);
    
    /** input */
    String lastHolded = sc.next();

    if(lastHolded.equals(conABC)){
      System.out.println(conARC);
    } else {
      System.out.println(conABC);
    }

  }
} Main
import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    /** constance */
    String conABC = "ABC";
    String conARC = "ARC";
      
    /** Scanner */
    Scanner sc = new Scanner(System.in);
    
    /** input */
    String lastHolded = sc.next();

    if(lastHolded.equals(conABC)){
      System.out.println(conARC);
    } else {
      System.out.println(conABC);
    }

  }
}
