#include <iostream>
#include <vector>
using namespace std;
int main(){
	int n,k;
	while(cin>>n>>k,n,k){
		vector<int> amount;
		for(int i=0,s;i<k;++i){
			cin>>s;
			amount.push_back(s);
		}
		bool f = true;
		for(int i=0;i<n;++i){
			for(int j=0,b;j<k;++j){
				cin>>b;
				amount[j]-=b;
				if(amount[j]<0) f=false;
			}
		}
		cout<<((f)?"Yes\n":"No\n");
	}
}