#include <bits/stdc++.h>
using namespace std;
int main() {
  int g1;
  int g2;
  int b1;
  int b2;
  cin >> g1 >> g2 >> b2 >> b1;
  if ((g1 + 1) * 2 >= b1 && (g1 - 1 <= b1)) {
    cout << "YES" << endl;
  } else if ((g2 + 1) * 2 >= b2 && (g2 - 1 <= b2)) {
    cout << "YES" << endl;
  } else {
    cout << "NO" << endl;
  }
}
