#include <bits/stdc++.h>
int main(void) {
  int a;
  int b;
  int c;
  a == (a <= 500);
  b == (b <= 500);
  c == (c <= 1000);
  scanf("%d", &a);
  scanf("%d", &b);
  scanf("%d", &c);
  if ((a + b) >= c) {
    printf("No");
  } else {
    printf("Yes");
  }
  return (0);
}
