import std.stdio, std.conv, std.string, std.array, std.math, std.regex, std.range, std.ascii, std.numeric, std.random;
import std.typecons, std.functional, std.traits,std.concurrency;
import std.algorithm, std.container;
import core.bitop, core.time, core.memory;
import std.bitmanip;
import std.regex;

enum INF = long.max/3;
enum MOD = 10L^^9+7;

void main()
{
    auto A = scanElem;
    auto B = scanElem;
    auto C = scanElem;
  if(A+B>=C){
  	writeln("YES");
  }else{
    writeln("No");
  }
}
