#include <bits/stdc++.h>
const int MOD = int(1e9) + 9;
const int INF = 0x3f3f3f3f;
const long long INFF = 0x3f3f3f3f3f3f3f3fLL;
const double EPS = 1e-9;
const double OO = 1e20;
const double PI = acos(-1.0);
const int dx[] = {-1, 0, 1, 0};
const int dy[] = {0, 1, 0, -1};
using namespace std;
bool check(int a, int b) {
  if (b >= a - 1 && b <= (a + 1) * 2) return true;
  return false;
}
int main() {
  int gl, gr, bl, br;
  cin >> gl >> gr >> bl >> br;
  if (check(gl, br) || check(gr, bl))
    cout << "YES\n";
  else
    cout << "NO\n";
  return 0;
}
