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