#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  int a, b, c, d;
  cin >> a >> b >> c >> d;
  if (a - 1 <= d && d <= (a + 1) * 2) {
    cout << "YES" << endl;
    return 0;
  }
  if (b - 1 <= c && c <= (b + 1) * 2) {
    cout << "YES" << endl;
    return 0;
  }
  cout << "NO" << endl;
  return 0;
}
