#include <stdio.h>

static const int MAX_BLOOD_TYPE = 100;

int main(void) {
    int i, j, n, k, blood_quantity[MAX_BLOOD_TYPE], used_blood, flag;

    while (EOF != scanf(" %d %d", &n, &k)) {
        if (k == 0 && n == 0) {
            break;
        }
        flag = 0;

        for (i = 0; i < k; i++) {
            scanf(" %d", &blood_quantity[i]);
        }

        for (i = 0; i < n; i++) {
            for (j = 0; j < k; j++) {
                scanf(" %d", &used_blood);
                blood_quantity[j] -= used_blood;

                if (blood_quantity[j] < 0) {
                    flag = 1;
                }
            }
        }

        printf("%s\n", (flag == 0)?"Yes":"No");
    }


    return 0;
}