#include <iostream>
using namespace std;

int B[100];
bool flag;
int main()
{
  cin.tie(0);
  ios::sync_with_stdio(false);

  int N, K;
  int S[100];
    
  while (cin >> N >> K, N + K){
    for (int i = 0; i < K; i++){
      cin >> S[i];
      B[i] = 0;
    }

    for (int i = 0; i < N; i++){
      for (int j = 0; j < K; j++){
        int a;
        cin >> a;
        B[j] += a;
      }
    }

    flag = true;
    for (int i = 0; i < K; i++){
      if (S[i] < B[i]){
        flag = false;
      }
    }

    if (flag){
      cout << "Yes" << endl;
    }
    else {
      cout << "No" << endl;

    }
  }
}