#include <stdio.h>
short rml[100];
int d,g,n,k,i,j,s[100];
int main(void){
	while(scanf("%d%d",&n,&k),(n != k || k )){
		for(i = 0;i < k;i++)scanf("%d",s+i);
		for(i = 0;i < n * k;i++){
			scanf("%d",&g);
			s[i % k] -= g;
			if(s[i % k] < 0)rml[d] = 1;
		}
		d++;
	}
	for(i = 0;i < d;i++)printf("%s\n",(!rml[i]?"Yes":"No"));
	return 0;
}