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

int main(){
    
    char B[3];
    char *S;
    char *A = "ABC";

    scanf("%s", B);

    strcpy(S,B);

    if(strcmp(S,A)==0){
        printf("ARC");
    }
    else{
        printf("ABC");
    }
}