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