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