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