#include <iostream>
using namespace std;

int main()
{
    int x;
    int y;
    int z;
    here:
    cin >> x >> y >> z;
    if (x >= 1 && x <= 500 && y >= 1 && y <= 500 && z >= 1 && z <= 1000) {
        if (x + y >= z) {
            cout << "YES" << endl;
        }
        else {
            cout << "NO" << endl;
        }
    }
    else {
        goto here;
    }
  
    
}
