#include using namespace std; void X(int H,int x,int y) { if (H==max(H,max(x,y))){ cout<<'A'<>Ha>>Hb>>Hc; X(Ha,Hb,Hc); X(Hb,Ha,Hc); X(Hc,Ha,Hb); return 0; }