#include #include #include using namespace std; int main(){ int HA,HB,HC,WA,WB,WC; bool ab,bc,ca; cin >> HA >> WA >> HB >> WB >> HC >> WC; if(HA>=HB){ if(HA==HB&&WA=HC){ if(HB==HC&&WB=HA){ if(HC==HA&&WC