#include <bits/stdc++.h>
int main() {
  int A, B, C;
  printf("Enter A value:");
  scanf("%d", &A);
  printf("Enter B value:");
  scanf("%d", &B);
  printf("Enter C value:");
  scanf("%d", &C);
  if (A + B >= C) {
    printf("Yes");
  } else {
    printf("NO");
  }
  return 0;
}
