#include<iostream>
#include<cstring>
#include<algorithm>
#include<functional>
using namespace std;


int main(){
	int n,k;
	int a[100];
	while(cin>>n>>k,n|k){
		for(int i=0;i<k;i++)cin>>a[i];
		for(int i=0;i<n;i++){
			for(int j=0;j<k;j++){
				int b;
				cin>>b;
				a[j]-=b;
			}
		}
		bool ans=find_if(a,a+k,bind2nd(less<int>(),0))==a+k;
		cout<<(ans?"Yes":"No")<<endl;
	}
	return 0;
}