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