#include <iostream>
#include <vector>
using namespace std;

int main(){
    int n,k,tmp;
    while(cin >> n >> k,n||k){
        bool ju = true;
        vector <int> blood(k+1);
        for(int i=1;i<=k;i++) cin >> blood[i];
        for(int i=0;i<n;i++){
            for(int j=1;j<=k;j++){
                cin >> tmp;
                if(blood[j] < tmp) ju = false;
                else blood[j] -= tmp;
            }
        }
        cout << ((ju)? "Yes" : "No") << endl;
    }
}