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