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