#include<bits/stdc++.h>
using namespace std;
    int main(){
        int A, B, C;
            cin A >> B >> C;
                if(A + B >= C){
                    cout << "Yes" << endl; 
                }else{
                    cout << "NO" << endl;
                }
    return 0;}