#include<stdio.h>
#include<string.h>
int main(){
    char S[3], b[]="ABC", c[]="ARC";
    scanf("%s",S);
    if(strcmp(S,b)==0)
        printf("They held an ABC last week, so they will hold an %s this week.",c);
    else
        printf("They held an ARC last week, so they will hold an %s this week.", b);
    return 0;
}
