#include <stdio.h>

#define N 100

int
main (
  )
{
  int i;

  for ( ; ; )
  {
    int s[ N ];
    int n, k;

    scanf ( "%d%d", &n, &k );
    if ( !( n | k ) ) break ;

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

    while ( n-- )
    {
      for ( i = 0; i < k; ++i )
      {
        int b;

        scanf ( "%d", &b );
        s[ i ] -= b;
      }
    }

    for ( i = 0; i < k; ++i )
    {
      if ( s[ i ] < 0 ) break ;
    }

    puts ( i == k ? "Yes" : "No" );
  }

  return ( 0 );
}