## main

loop do
  n, k = gets.split.map(&:to_i)
  break if n == 0 && k == 0

  sums = gets.split.map(&:to_i)
  ok = true

  n.times do
    bs = gets.split.map(&:to_i)
    for i in (0...k)
      sums[i] -= bs[i]
      ok = false if sums[i] < 0
    end
  end

  puts (ok ? 'Yes' : 'No')
end