#include<stdio.h>
int check (int i);
int main(void)
{
    int a, b, c, d;
    scanf("%d %d %d %d", &a, &b, &c, &d);
    if (!(check(a)* check(b)* check(c)* check(d)))
        return 1;
    int sub = a - c, k = 0, j = 0;
   if(sub > 0)
{
k+= sub;
}
else
j += sub*(-1);
if (k > 0 && j <= 0)
    printf("Yes\n");
sub = d -b;
if(sub > 0)
    j += sub;
else
    k += sub;
if (k > 0 && j <= 0)
    printf("Yes\n");
else if(j > 0 && k <= 0)
    printf("No\n");

}
int check (int i)
{
    if(i >= 1 && i <= 100)
        return 1;
    else
        return 0;
}
