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