#include <bits/stdc++.h>
using namespace std;
int check(int g, int b) { return b >= g - 1 && b <= 2 * (g + 1); }
int main() {
  int al, ar, bl, br;
  cin >> al >> ar >> bl >> br;
  if (check(al, br) || check(ar, bl)) {
    cout << "YES" << endl;
  } else {
    cout << "NO" << endl;
  }
  return 0;
}
