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