def check
  while line = STDIN.gets.chomp
    break unless line.chomp!.empty?
  end

  a,b,p = line.split ' '

  begin
    coin_a = Integer(a)
    coin_b = Integer(b)
    prod = Integer(p)
  rescue
    return false
  end

  return false unless (1<=coin_a && coin_a<=500)
  return false unless (1<=coin_b && coin_b<=500)
  return false unless (1<=prod && prod<=1000)

  return (coin_a+coin_b)>=prod
end


def main
 puts check() ? 'YES' : 'NO'
end

main()