#include <bits/stdc++.h>
int main(void) {
  int a, b, c, s;
  scanf("%d", &a);
  scanf("%d", &b);
  scanf("%d", &c);
  s = a + b;
  if (!(c > s)) {
    printf("YES\n");
  }
  if (c > s) {
    printf("NO\n");
  }
  return 0;
}
