// AOJ 1019: Vampirish Night
// 2017.8.17 bal4u@uu
// 2017.12.15

#include <stdio.h>
#include <string.h>

int s[102], t[102];
char buf[701], *p;

int getint()
{
	int n = 0;
	while (*p >= '0') n = (n<<3) + (n<<1) + (*p++ & 0xf);
	p++;
	return n;
}

int main()
{
	int n, k, i, j;

	while (fgets(p=buf, 10, stdin) && *p != '0') {
		n = getint(), k = getint();
		memset(t, 0, sizeof(t));
		fgets(p=buf, sizeof(buf), stdin);
		for (i = 0; i < k; i++) s[i] = getint();
		for (j = 0; j < n; j++) {
			fgets(p=buf, sizeof(buf), stdin);
			for (i = 0; i < k; i++) t[i] += getint();
		}
		for (i = 0; i < k; i++) if (t[i] > s[i]) break;
		puts(i == k ? "Yes" : "No");
	}
	return 0;
}