loop do
  n, k = gets.split.map(&:to_i)
  
  break if n == 0
  
  s, ans = gets.split.map(&:to_i), "Yes"
  
  n.times do
    b = gets.split.map(&:to_i)
    
    k.times do |i|
      s[i] -= b[i]
      ans = "No" if s[i] < 0
    end
  end
  
  p ans
end