#include <bits/stdc++.h>
using namespace std;
int main() {
  int a1, a2, b1, b2;
  cin >> a1 >> a2 >> b1 >> b2;
  if ((b1 - a2 >= -1 && b1 <= (a2 + 1) * 2) ||
      (b2 - a1 >= -1 && b2 <= (a1 + 1) * 2))
    cout << "YES";
  else
    cout << "NO";
  return 0;
}
