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