#include <bits/stdc++.h>
using namespace std;
int main() {
  int A, B, C;
  cin >> A >> B >> C;
  int X = 0;
  X += A;
  X += B;
  if (X < C)
    cout << "NO" << endl;
  else
    cout << "YES" << endl;
}
