#include<stdio.h>
#include<string.h>
int main(void){
    char a[101];
    scanf("%s",a);
    if(strcmp(a,"ABC")==0){
        printf("ARC");
    }
    if(strcmp(a,"ARC")==0){
        printf("ABC");
    }
    return 0;
}
