#include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;
int main(){
  int N, K;
  int S[101];
  int B;
  
  while(cin >> N >> K){
    if(N == 0 && K == 0) break;
    
    bool flag = 1;

    for(int i = 0 ; i < K ; i++){
      cin >> S[i];
    }

    for(int i = 0 ; i < N ; i++){
      for(int j = 0 ; j < K ; j++){
	cin >> B;
	S[j] -= B;
	if(S[j] < 0) flag = 0;
      }
    }
    
    if(flag) cout << "Yes" << endl;
    else cout << "No" << endl;
  }
  return 0;
}