import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        String[] lines = getStdin();
        String str = lines[0];
        
        String a = "ABC";
        String b = "ARC";
        
        if (str.equals(a)){
            System.out.println(b);
        } else {
            System.out.println(a);
        }

   }
  
  private static String[] getStdin() {
    Scanner scanner = new Scanner(System.in);
    ArrayList<String> lines = new ArrayList<>();
    while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    }
    return lines.toArray(new String[lines.size()]);
  }
  
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        String[] lines = getStdin();
        String str = lines[0];
        
        String a = "ABC";
        String b = "ARC";
        
        if (str.equals(a)){
            System.out.println(b);
        } else {
            System.out.println(a);
        }

   }
  
  private static String[] getStdin() {
    Scanner scanner = new Scanner(System.in);
    ArrayList<String> lines = new ArrayList<>();
    while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    }
    return lines.toArray(new String[lines.size()]);
  }
  
} Main public static void main(String[] args) throws Exception {
        String[] lines = getStdin();
        String str = lines[0];
        
        String a = "ABC";
        String b = "ARC";
        
        if (str.equals(a)){
            System.out.println(b);
        } else {
            System.out.println(a);
        }

   } main {
        String[] lines = getStdin();
        String str = lines[0];
        
        String a = "ABC";
        String b = "ARC";
        
        if (str.equals(a)){
            System.out.println(b);
        } else {
            System.out.println(a);
        }

   } String[] lines = getStdin(); lines getStdin() getStdin String str = lines[0]; str lines[0] lines 0 String a = "ABC"; a "ABC" String b = "ARC"; b "ARC" if (str.equals(a)){
            System.out.println(b);
        } else {
            System.out.println(a);
        } str.equals(a) str.equals str a {
            System.out.println(b);
        } System.out.println(b) System.out.println System.out System System.out b {
            System.out.println(a);
        } System.out.println(a) System.out.println System.out System System.out a String[] args args private static String[] getStdin() {
    Scanner scanner = new Scanner(System.in);
    ArrayList<String> lines = new ArrayList<>();
    while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    }
    return lines.toArray(new String[lines.size()]);
  } getStdin {
    Scanner scanner = new Scanner(System.in);
    ArrayList<String> lines = new ArrayList<>();
    while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    }
    return lines.toArray(new String[lines.size()]);
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) ArrayList<String> lines = new ArrayList<>(); lines new ArrayList<>() while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    } scanner.hasNext() scanner.hasNext scanner {
      lines.add(scanner.nextLine());
    } lines.add(scanner.nextLine()) lines.add lines scanner.nextLine() scanner.nextLine scanner return lines.toArray(new String[lines.size()]); lines.toArray(new String[lines.size()]) lines.toArray lines new String[lines.size()] lines.size() lines.size lines public class Main {
    public static void main(String[] args) throws Exception {
        String[] lines = getStdin();
        String str = lines[0];
        
        String a = "ABC";
        String b = "ARC";
        
        if (str.equals(a)){
            System.out.println(b);
        } else {
            System.out.println(a);
        }

   }
  
  private static String[] getStdin() {
    Scanner scanner = new Scanner(System.in);
    ArrayList<String> lines = new ArrayList<>();
    while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    }
    return lines.toArray(new String[lines.size()]);
  }
  
} public class Main {
    public static void main(String[] args) throws Exception {
        String[] lines = getStdin();
        String str = lines[0];
        
        String a = "ABC";
        String b = "ARC";
        
        if (str.equals(a)){
            System.out.println(b);
        } else {
            System.out.println(a);
        }

   }
  
  private static String[] getStdin() {
    Scanner scanner = new Scanner(System.in);
    ArrayList<String> lines = new ArrayList<>();
    while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    }
    return lines.toArray(new String[lines.size()]);
  }
  
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        String[] lines = getStdin();
        String str = lines[0];
        
        String a = "ABC";
        String b = "ARC";
        
        if (str.equals(a)){
            System.out.println(b);
        } else {
            System.out.println(a);
        }

   }
  
  private static String[] getStdin() {
    Scanner scanner = new Scanner(System.in);
    ArrayList<String> lines = new ArrayList<>();
    while (scanner.hasNext()) {
      lines.add(scanner.nextLine());
    }
    return lines.toArray(new String[lines.size()]);
  }
  
}
