#include <stdio.h>

int main(void){
	int n, k, s[100], b, i, j, ans;
	while(1){
		scanf("%d %d", &n, &k);
		if(n == k && n == 0) break;
		for(i = 0; i < k; i++) scanf("%d", &s[i]);
		ans = 1;
		for(i = 0; i < n; i++){
			for(j = 0; j < k; j++){
				scanf("%d", &b);
				s[j] -= b;
				if(s[j] < 0){
					ans = 0;
				}
			}
		}
		if(ans == 1) printf("Yes\n");
		else if(ans == 0)printf("No\n");
	}
	return 0;
}