#include <bits/stdc++.h>
using namespace std;
int main() {
  int ar, al;
  int br, bl;
  scanf("%d%d", &ar, &al);
  scanf("%d%d", &br, &bl);
  bool bb = false;
  if (br >= al - 1 && br <= al * 2 + 2) bb = true;
  if (bl >= ar - 1 && bl <= ar * 2 + 2) bb = true;
  if (bb)
    printf("YES\n");
  else
    printf("NO\n");
  return 0;
}
