#include<iostream>
#include<sstream>
#include<vector>
#include<set>
#include<map>
#include<queue>
#include<algorithm>
#include<numeric>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
#include<cassert>

#define rep(i,n) for(int i=0;i<n;i++)
#define all(c) (c).begin(),(c).end()
#define mp make_pair
#define pb push_back
#define rp(i,c) rep(i,(c).size())
#define fr(i,c) for(__typeof((c).begin()) i=(c).begin();i!=(c).end();i++)
#define dbg(x) cerr<<#x<<" = "<<(x)<<endl

using namespace std;

typedef long long ll;
typedef vector<int> vi;
typedef pair<int,int> pi;
const int inf=1<<28;
const double INF=1e12,EPS=1e-9;

int main()
{
	int n,k;
	while(cin>>n>>k,n)
	{
		int b[k],t;
		rep(i,k)cin>>b[i];
		rep(i,n)rep(j,k)cin>>t,b[j]-=t;
		rep(i,k)if(b[i]<0)
		{
			cout<<"No"<<endl; goto END;
		}
		cout<<"Yes"<<endl; END:;
	}
	
	return 0;
}