#include<bits/stdc++.h>
#define ll long long int
using namespace std;
#define MAXN 1000001
void solve(){
ll a,b,c,d;
cin>>a>>b>>c>>d;
if(a+b>=c+d)
{
	cout<<"Yes"<<endl;
	return;
}
cout<<"No"<<endl;
}
int main(){
    ios_base::sync_with_stdio(false); 
    cin.tie(NULL);
    int t=1;
    //cin>>t;
    while(t--){
        solve();
    }
} 