k,i,j,b[999];
main(n)
{
  for(;scanf("%d%d",&n,&k),n;puts(b[i]<0?"No":"Yes"))
    {
      for(i=0;i<k;i++)
	scanf("%d",&b[i]);
      for(;n--;)
	for(j=0;j<k;b[j++]-=i)
	  scanf("%d",&i);
      for(i=0;i<k-1;)
	if(b[i++]<0)break;
      
    }
  exit(0);      
}