#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:16777216")
using namespace std;
const double PI = 2 * acos(0.0);
const double EPS = 1e-8;
const int INF = 1000000000;
int a, b, c, d;
bool can(int a, int b) {
  if (a > b + 1) return false;
  if (b > 2 * a + 2) return false;
  return true;
};
int main() {
  cin >> a >> b >> c >> d;
  if (can(a, d) || can(b, c))
    printf("YES");
  else
    printf("NO");
  return 0;
};
