#include <iostream>
#include <cstring>
#include <cmath> 
#include <vector>
#include <algorithm>
#include <queue>
using namespace std;   
int main()  
{ 
int a,b,c;
cin>>a>>b>>c;
cout<<a+b>=c?"YES":"NO";



    system("pause");
    return 0;
}