#include <bits/stdc++.h>
using namespace std;

int main() {
  int A, B, c;
  cin >> A >> B >> C;
  
  if (A + B >= C) {
    cout << "Yes" << endl;
  } else {
    cout << "NO" << endl;
  }
  
  
  
  
  
}