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