#include <bits/stdc++.h>
int main() {
  int a, b, c, d;
  while (scanf("%d%d%d%d", &a, &b, &c, &d) == 4) {
    if (c >= b - 1 && c <= 2 * (b + 1)) {
      printf("YES\n");
      continue;
    }
    if (d >= a - 1 && d <= 2 * (a + 1)) {
      printf("YES\n");
      continue;
    }
    printf("NO\n");
  }
  return 0;
}
