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