#include using namespace std; struct X{ int h; int w; X(int H,int W){ h=H; w=W; } bool operator>(X &x){ if (h>x.h){ return true; }else if (h==x.h){ return w>Ha>>Wa; cin>>Hb>>Wb; cin>>Hc>>Wc; X x1(Ha,Wa); X x2(Hb,Wb); X x3(Hc,Wc); if (x1>x2 && x1>x3){ //Max cout<<"A"<x1 && x3>x1){ //Min cout<<"C"<x1 && x2>x3){ //Max cout<<"A"<x2 && x3>x2){ //Min cout<<"C"<x1 && x3>x2){ //Max cout<<"A"<x3 && x2>x3){ //Min cout<<"C"<