while True:

    n,k = list(map(int, input().split()))

    if n == k == 0:

        break

    s = [int(x) for x in input().split()]

    for _ in range(n):

        b = [int(x) for x in input().split()]

        for i in range(k):

            s[i] -= b[i]

    print(("Yes" if min(s) >= 0 else "No"))
while True:

    n,k = list(map(int, input().split()))

    if n == k == 0:

        break

    s = list(map(int, input().split()))

    for _ in range(n):

        b = list(map(int, input().split()))

        for i in range(k):

            s[i] -= b[i]

    print(("Yes" if min(s) >= 0 else "No"))
while True:
    n, k = list(map(int, input().split()))
    if n == k == 0:
        break
    s = [int(x) for x in input().split()]
    for _ in range(n):
        b = [int(x) for x in input().split()]
        for i in range(k):
            s[i] -= b[i]
    print(("Yes" if min(s) >= 0 else "No"))

while True:
    n, k = list(map(int, input().split()))
    if n == k == 0:
        break
    s = list(map(int, input().split()))
    for _ in range(n):
        b = list(map(int, input().split()))
        for i in range(k):
            s[i] -= b[i]
    print(("Yes" if min(s) >= 0 else "No"))

-    s = [int(x) for x in input().split()] +    s = list(map(int, input().split())) -        b = [int(x) for x in input().split()] +        b = list(map(int, input().split()))