#include <bits/stdc++.h>
int main(int argc, char **argv) {
  int a, b;
  int c;
  scanf("%d %d %d", &a, &b, &c);
  if (a + b < c) {
    printf("NO\n");
  } else {
    printf("YES\n");
  }
  return 0;
}
