#include <stdio.h>
int main() {
int P, R;
scanf("%d", &P);
scanf("%d", &R);
if(P==0){
printf("C");
}
if(P==1){
if(R==0){
printf("B");
}
if(R==1){
printf("A");
}
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: