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