import java.util.*;

public class Main {
  public static void main(String[] args) {
    final String ABC_STR = "ABC";
        final String ARC_STR = "ARC";
        Scanner s = new Scanner(System.in);
        final String S = s.nextLine();

        if (ABC_STR.equals(S)) {
            System.out.println(ARC_STR);
        } else {
            System.out.println(ABC_STR);
        }
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    final String ABC_STR = "ABC";
        final String ARC_STR = "ARC";
        Scanner s = new Scanner(System.in);
        final String S = s.nextLine();

        if (ABC_STR.equals(S)) {
            System.out.println(ARC_STR);
        } else {
            System.out.println(ABC_STR);
        }
  }
} Main public static void main(String[] args) {
    final String ABC_STR = "ABC";
        final String ARC_STR = "ARC";
        Scanner s = new Scanner(System.in);
        final String S = s.nextLine();

        if (ABC_STR.equals(S)) {
            System.out.println(ARC_STR);
        } else {
            System.out.println(ABC_STR);
        }
  } main {
    final String ABC_STR = "ABC";
        final String ARC_STR = "ARC";
        Scanner s = new Scanner(System.in);
        final String S = s.nextLine();

        if (ABC_STR.equals(S)) {
            System.out.println(ARC_STR);
        } else {
            System.out.println(ABC_STR);
        }
  } final String ABC_STR = "ABC"; ABC_STR "ABC" final String ARC_STR = "ARC"; ARC_STR "ARC" Scanner s = new Scanner(System.in); s new Scanner(System.in) final String S = s.nextLine(); S s.nextLine() s.nextLine s if (ABC_STR.equals(S)) {
            System.out.println(ARC_STR);
        } else {
            System.out.println(ABC_STR);
        } ABC_STR.equals(S) ABC_STR.equals ABC_STR S {
            System.out.println(ARC_STR);
        } System.out.println(ARC_STR) System.out.println System.out System System.out ARC_STR {
            System.out.println(ABC_STR);
        } System.out.println(ABC_STR) System.out.println System.out System System.out ABC_STR String[] args args public class Main {
  public static void main(String[] args) {
    final String ABC_STR = "ABC";
        final String ARC_STR = "ARC";
        Scanner s = new Scanner(System.in);
        final String S = s.nextLine();

        if (ABC_STR.equals(S)) {
            System.out.println(ARC_STR);
        } else {
            System.out.println(ABC_STR);
        }
  }
} public class Main {
  public static void main(String[] args) {
    final String ABC_STR = "ABC";
        final String ARC_STR = "ARC";
        Scanner s = new Scanner(System.in);
        final String S = s.nextLine();

        if (ABC_STR.equals(S)) {
            System.out.println(ARC_STR);
        } else {
            System.out.println(ABC_STR);
        }
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {
    final String ABC_STR = "ABC";
        final String ARC_STR = "ARC";
        Scanner s = new Scanner(System.in);
        final String S = s.nextLine();

        if (ABC_STR.equals(S)) {
            System.out.println(ARC_STR);
        } else {
            System.out.println(ABC_STR);
        }
  }
}