#include <bits/stdc++.h>
using namespace std;
int mod(int val) { return val > 0 ? val : -val; }
int main() {
  int g[2], b[2];
  cin >> g[0] >> g[1] >> b[0] >> b[1];
  bool pass = false;
  if (((g[1] + 1) * 2 >= b[0]) && (b[0] - g[1]) > -2) {
    pass = true;
  }
  if ((g[0] + 1) * 2 >= b[1] && (b[1] - g[0]) > -2) {
    pass = true;
  }
  if (pass) {
    cout << "YES" << endl;
  } else {
    cout << "NO" << endl;
  }
}
