def check
  begin
    coin_a = Integer(ARGV[0])
    coin_b = Integer(ARGV[1])
    prod = Integer(ARGV[2])
  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
 print check() ? 'YES' : 'NO'
end

main()