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