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

int main()
{
    char buf[80];
    char last[] = {'A','B','C'};
    scanf("%s", buf);
    if(strncmp(buf,last,3)==0)  printf("ARC");
    else printf("ABC");
    return 0;
}