#include <iostream>

int main()
{
    using namespace std;
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);

    int a, b, x;

    cin >> a >> b >> x;

    if(a + b < x)
    {
        cout << "NO\n";
    }else{
        cout << "YES\n";
    }

    return 0;
}
