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