#include <iostream>
 
using namespace std;
 
int main() {
 
  while(1) {
 
    int n,k;
 
    cin >> n >> k;
 
    if(n == 0 && k == 0) break;
 
    int a,flag = 0;
    int K[101];
 
    for(int i=0;i<k;i++) 
      cin >> K[i];
 
    for(int i=0;i<n;i++) {
 
      for(int j=0;j<k;j++) {
    cin >> a;
    K[j] -= a;
    if(K[j] < 0) flag =1;
 
      }
    }
 
    if(flag == 1) cout << "No" << endl;
    else cout << "Yes" << endl;
 
  }
 
  return 0;
 
}