#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;
    if((a +b) > (c + d))
        printf("Yes\n");
    else
        printf("No\n");
 
}
int check (int i)
{
    if(i >= 1 && i <= 100)
        return 1;
    else
        return 0;
}