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