#include <bits/stdc++.h>
using namespace std;
int G1, G2, B1, B2;
int main() {
  scanf("%d%d%d%d", &G1, &G2, &B1, &B2);
  if (B1 >= G2 - 1 && B1 <= 2 * (G2 + 1))
    printf("YES\n");
  else if (B2 >= G1 - 1 && B2 <= 2 * (G1 + 1))
    printf("YES\n");
  else
    printf("NO\n");
}
