#include <bits/stdc++.h>
int main(void) {
  int A = 0, B = 0;
  int AB = 0;
  scanf("%d,%d", &A, &B);
  scanf("%d", &AB);
  if (A + B >= AB) {
    puts("Yes");
  } else {
    puts("No");
  };
  return 0;
}
