#include <iostream> using namespace std; class cube { private: int h; int w; public: cube(int x,int y):h(x),w(y){} void compare(cube p) { if(this->h>=p.h&&this->w>=p.w||this->h>=p.w&&this->w>=p.h) { cout<<"yes"<<endl; } else { cout<<"no"<<endl; } } }; int main() { int a,b,c,d; cin>>a>>b>>c>>d; cube p1(a,b); cube p2(c,d); p1.compare(p2); return 0; }