#include <stdio.h>
int main(){
	int N,K;
	int Stock[100];
	int D;
	int i,j;
	int chk;
	while(1){
		scanf("%d%d",&N,&K);
		if(N==0 && K==0)break;
		for(i=0;i<K;i++)scanf("%d",&Stock[i]);
		chk=1;
		for(j=0;j<N;j++){
			for(i=0;i<K;i++){
				scanf("%d",&D);
				Stock[i]-=D;
				if(Stock[i]<0)chk=0;
			}
		}
		if(chk)printf("Yes\n");
		if(!chk)printf("No\n");
	}
	return 0;
}