#include using namespace std; int main(){ double a,aa,b,bb,c,cc; cin>>a>>aa>>b>>bb>>c>>cc; a+=1-aa*0.01; b+=1-bb*0.01; c+=1-cc*0.01; if(a>b&&b>c){ cout<<"A"<c&&c>b){ cout<<"A"<c&&c>a){ cout<<"B"<a&&a>c){ cout<<"B"<b){ cout<<"C"<