#include <bits/stdc++.h>
using namespace std;

int main()
{
    string i;
    cin >> i;

    string out;
    if (i == "ABC")
        out = "ARC";
    else
        out = "ABC";

    cout << out << endl;
}
