require 'matrix'

class String
    def integers
        split(" ").map(&:to_i)
    end
end

loop {
    n, k = gets.integers
    break if n == 0

    stock = Vector[*gets.integers]
    n.times{ stock = stock - Vector[*gets.integers] }
    puts stock.all?{|x| x >= 0} ? 'Yes' : 'No'
}