
import std.stdio;
import std.string;
import std.algorithm;
import std.conv;
import std.array;

long[] read_nums() {return readln.strip.chomp.split(" ").map!(to!(long)).array;}

void main() {
  while(true) {
    long[] data = read_nums;
    long people = data[0];
    long kinds = data[1];
    if (people == 0 && kinds == 0) break;
    long[] limit = read_nums;
    long[] sum = new long[](kinds);
    bool ans = true;
    foreach(i; 0..people) {
      long[] line = read_nums;
      foreach(long j, x; line) {
        sum[j] += x;
      }
    }
    for(long i = 0; i < sum.length; i++) {
      if (sum[i] > limit[i]) {
        ans = false;
        break;
      }
    }
    writeln(ans ? "Yes" : "No");
  }  
}