#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int a, B, c;
  cin >> a >> B >> c;
  if (a + B >= c)
    cout << "YES";
  else
    cout << "NO";
}
