#include<stdio.h>
int main(){
  int n,m,u,b[100],i,j,h;
  while(scanf("%d %d",&n,&m),n||m){
    h=1;
    for(i=0;i<m;i++){
      scanf("%d",&b[i]);
    }
    for(i=0;i<n;i++){
      for(j=0;j<m;j++){
	scanf("%d",&u);
	b[j]-=u;
	if(b[j]<0)h=0;
      }
    }
    if(h)printf("Yes\n");
    else printf("No\n");
  }
  return 0;
} 