#include <stdio.h>
#include <stdlib.h>
int main(){
int a,b,c,max,mid,min;
while(scanf("%d%d%d",&a,&b,&c)!=EOF){
if(a>b&&a>c){
max=a;
if(b>c){
mid=b;
min=c;
if(max>(mid+min)){
printf("A\n");
}else{
printf("B\n");
}
}else{
mid=c;
min=b;
if(max>(mid+min)){
printf("A\n");
}else{
printf("C\n");
}
}
}else if(b>a&&b>c){
max=b;
if(a>c){
mid=a;
min=c;
if(max>(mid+min)){
printf("B\n");
}else{
printf("A\n");
}
}else{
mid=c;
min=a;
if(max>(mid+min)){
printf("B\n");
}else{
printf("C\n");
}
}
}else{
max=c;
if(a>b){
mid=a;
min=b;
if(max>(mid+min)){
printf("C\n");
}else{
printf("A\n");
}
}else{
mid=b;
min=a;
if(max>(mid+min)){
printf("C\n");
}else{
printf("B\n");
}
}
}
}
return 0;
}