#include <bits/stdc++.h>
#include <iostream>

using namespace std;
typedef long long ll;

int main() {
	string a;
	cin >> a;
	if (a == "ABC") cout << "ARC" << endl;
	if (a == "ARC") cout << "ABC" << endl;
}
