#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, d;
  bool ans = false, kooft = false;
  cin >> a >> b >> c >> d;
  if (d <= 2 * (a + 1) && a - 1 <= d) {
    ans = true;
  }
  if (c <= 2 * (b + 1) && b - 1 <= c) {
    kooft = true;
  }
  if (kooft || ans) {
    cout << "YES";
    return 0;
  }
  cout << "NO";
}
