cat << EOS > s.cpp
#include <bits/stdc++.h>
#define int long long
using namespace std;

signed main() {
    string s;
    cin >> s;
    cout << (s == "ABC" ? "ARC" : "ABC") << endl;
}
EOS
g++ s.cpp -o a.out
./a.out