#include using namespace std; int main() { int a,b,c,d; cin>>a>>b>>c>>d; if(b>a && c>d) { cout<<"yes"; } else { cout<<"no"; } return 0; }