import java.util.*;
public class Main{
  public static void main(String[] args) {

    Scanner ob = new Scanner(System.in);
    String S = ob.next();
    String result = "";

    if(S.equals("ABC")){
      result += "ARC";
    }
    else{
      result += "ABC";
    }
    System.out.println(result);
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args) {

    Scanner ob = new Scanner(System.in);
    String S = ob.next();
    String result = "";

    if(S.equals("ABC")){
      result += "ARC";
    }
    else{
      result += "ABC";
    }
    System.out.println(result);
  }
} Main public static void main(String[] args) {

    Scanner ob = new Scanner(System.in);
    String S = ob.next();
    String result = "";

    if(S.equals("ABC")){
      result += "ARC";
    }
    else{
      result += "ABC";
    }
    System.out.println(result);
  } main {

    Scanner ob = new Scanner(System.in);
    String S = ob.next();
    String result = "";

    if(S.equals("ABC")){
      result += "ARC";
    }
    else{
      result += "ABC";
    }
    System.out.println(result);
  } Scanner ob = new Scanner(System.in); ob new Scanner(System.in) String S = ob.next(); S ob.next() ob.next ob String result = ""; result "" if(S.equals("ABC")){
      result += "ARC";
    }
    else{
      result += "ABC";
    } S.equals("ABC") S.equals S "ABC" {
      result += "ARC";
    } result += "ARC" result "ARC" {
      result += "ABC";
    } result += "ABC" result "ABC" System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main{
  public static void main(String[] args) {

    Scanner ob = new Scanner(System.in);
    String S = ob.next();
    String result = "";

    if(S.equals("ABC")){
      result += "ARC";
    }
    else{
      result += "ABC";
    }
    System.out.println(result);
  }
} public class Main{
  public static void main(String[] args) {

    Scanner ob = new Scanner(System.in);
    String S = ob.next();
    String result = "";

    if(S.equals("ABC")){
      result += "ARC";
    }
    else{
      result += "ABC";
    }
    System.out.println(result);
  }
} Main
import java.util.*;
public class Main{
  public static void main(String[] args) {

    Scanner ob = new Scanner(System.in);
    String S = ob.next();
    String result = "";

    if(S.equals("ABC")){
      result += "ARC";
    }
    else{
      result += "ABC";
    }
    System.out.println(result);
  }
}
