#include<stdio.h>
int main()
{
     long long a,b,c,d;
while(scanf("%lld %lld %lld %lld",&a,&b,&c,&d)!=EOF)
    {
        if(a+b>c+d)
        {
            printf("yes\n");
            }
        else if(a+b<c+d)
        {
            printf("no\n");
            }
        }
    return 0;
    } 