#include <bits/stdc++.h>
using namespace std;
int a, b, c;
void read() { cin >> a >> b >> c; }
void solve() { cout << (a + b >= c ? "YES" : "NO"); }
int main() {
  ios ::sync_with_stdio(false);
  cin.tie(nullptr);
  int t = 1;
  while (t) {
    --t;
    read();
    solve();
  }
  return 0;
}
