#include<iostream>
using namespace std;
int main()
{
    int A,B,C,D;
    while(cin>>A>>B>>C>>D)
    {
        if(A+B>C+D)
        {
            cout<<"Yes"<<endl;
        }
        else
        {
            cout<<"No"<<endl;
        }
        break;
    }
}