#include <iostream>
#include <vector>
using namespace std;
#define REP(i,n) for(int i = 0; i < (int)(n); ++i)
int main() {
  int n, k;
  while (cin>>n>>k , n|k) {
    vector<int> s(k);
    REP(i,k) cin>>s[i];
    REP(j,n) REP(i,k) {
      int tmp; cin>>tmp;
      s[i] -= tmp;
    }
    bool ok = true;
    REP(i,k) if (s[i] < 0) ok = false;
    cout<<(ok?"Yes":"No")<<endl;
  }
  return 0;
}