#include <bits/stdc++.h>
bool check(int g, int b) {
  if (g <= b + 1)
    if (b > 2 * (g + 1))
      return false;
    else
      return true;
  else
    return false;
}
int main() {
  int a, b, c, d;
  scanf("%d%d%d%d", &a, &b, &c, &d);
  if (check(a, d) || check(b, c))
    puts("YES");
  else
    puts("NO");
}
