#include<stdio.h>
#include<string.h>

int Main(void){
    char S[256];

    fgets(S);

    if(!strcmp(S, "ABC")){
        printf("ARC");
    }else if(!strcmp(S, "ABC")){
        printf("ABC");
    }

    return 0;
}