#include<stdio.h>
#include<stdlib.h>

int main(){
  int i,j,b,n,k,*blood,canMake;
  while(1){
    scanf("%d %d",&n,&k);
    if(!n&&!k) break;
    canMake=1;
    blood=malloc(sizeof(int)*k);
    scanf("%d",blood);
    for(i=1;i<k;i++) scanf(" %d",blood+i);
    for(i=0;i<n;i++){
      scanf("%d",&b);
      blood[0]-=b;
      if(blood[i]<0) canMake=0;
      for(j=1;j<k;j++){
	scanf(" %d",&b);
	blood[j]-=b;
	if(blood[i]<0) canMake=0;
      }
    }
    printf("%s\n",canMake?"Yes":"No");
  }
  return 0;
}