#include <iostream>
#include <sstream>
#include <iomanip>
#include <algorithm>
#include <cmath>
#include <string>
#include <vector>
#include <list>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <bitset>
#include <numeric>
#include <climits>
#include <cfloat>
using namespace std;

int main()
{
    for(;;){
        int n, k;
        cin >> n >> k;
        if(n == 0)
            return 0;

        vector<int> blood(k);
        for(int i=0; i<k; ++i)
            cin >> blood[i];

        for(int i=0; i<n; ++i){
            for(int j=0; j<k; ++j){
                int tmp;
                cin >> tmp;
                blood[j] -= tmp;
            }
        }

        if(*(min_element(blood.begin(), blood.end())) < 0)
            cout << "No" << endl;
        else
            cout << "Yes" << endl;
    }
}