#include <bits/stdc++.h>
using namespace std;
int main() {
  int gr, gl, br, bl;
  cin >> gl >> gr >> bl >> br;
  bool b;
  if ((gl == br) || (gr == bl))
    cout << "YES";
  else {
    if (gl > br) {
      if (gl <= br + 1)
        b = true;
      else
        b = false;
    } else {
      if ((gl + 1) * 2 >= br)
        b = true;
      else
        b = false;
    }
    if (b)
      cout << "YES";
    else {
      if (gr > bl) {
        if (gr <= bl + 1)
          b = true;
        else
          b = false;
      } else {
        if ((gr + 1) * 2 >= bl)
          b = true;
        else
          b = false;
      }
      if (b)
        cout << "YES";
      else
        cout << "NO";
    }
  }
  return 0;
}
