require 'matrix'

def get_integers
    gets.split(" ").map(&:to_i)
end

loop {
    n, k = get_integers
    break if n == 0
    residue = (0..n).map{Vector[*get_integers]}.inject(&:-)
    puts residue.all?{|x| x >= 0} ? 'Yes' : 'No'
}   