import java.util.*;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    String title = sc.next();

    switch (title) {
      case "ABC":
        System.out.println("ARC");
        break;
      case "ARC":
        System.out.println("ABC");
        break;
    }
    sc.close();
  }
} import java.util.*; util.* java class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    String title = sc.next();

    switch (title) {
      case "ABC":
        System.out.println("ARC");
        break;
      case "ARC":
        System.out.println("ABC");
        break;
    }
    sc.close();
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    String title = sc.next();

    switch (title) {
      case "ABC":
        System.out.println("ARC");
        break;
      case "ARC":
        System.out.println("ABC");
        break;
    }
    sc.close();
  } main {
    Scanner sc = new Scanner(System.in);

    String title = sc.next();

    switch (title) {
      case "ABC":
        System.out.println("ARC");
        break;
      case "ARC":
        System.out.println("ABC");
        break;
    }
    sc.close();
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String title = sc.next(); title sc.next() sc.next sc switch (title) {
      case "ABC":
        System.out.println("ARC");
        break;
      case "ARC":
        System.out.println("ABC");
        break;
    } title case "ABC": "ABC" case "ABC": System.out.println("ARC") System.out.println System.out System System.out "ARC" break; case "ARC": "ARC" case "ARC": System.out.println("ABC") System.out.println System.out System System.out "ABC" break; sc.close() sc.close sc String[] args args
import java.util.*;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    String title = sc.next();

    switch (title) {
      case "ABC":
        System.out.println("ARC");
        break;
      case "ARC":
        System.out.println("ABC");
        break;
    }
    sc.close();
  }
}