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