#include<algorithm>
#include<iostream>
#include<string.h>
#include<stdio.h>
#include<string>
#include<math.h>
#include<vector>
#include<queue>
#include<set>
#include<map>
using namespace std;
int main()
{
cin>>a>>b>>c>>x;
x=a+b;
if(x>=c)
cout<<"Yes";
else
cout<<"No";
return 0;
}