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