#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int A, B, C;
  cin >> A >> B >> C;
  int a;
  a = A + B;
  if (a >= C) {
    cout << "Yes" << endl;
  } else {
    cout << "NO" << endl;
  }
}
