#include <stdio.h>
main(){
  int n,k,s[100000],b,i,j,ss[100000],jud;
  while(1){
    jud=1;
    scanf("%d%d",&n,&k);
    if(n == 0 && k == 0) break;
    for(i=0;i<k;i++){
      scanf("%d",&s[i]);
      ss[i]=0;
    }
    for(i=0;i<n;i++){
      for(j=0;j<k;j++){
	scanf("%d",&b);
	ss[j]+=b;
      }
    }

    for(i=0;i<k;i++){
      if(ss[i] > s[i]){
	jud=0;
	break;
      }
    }
    if(jud == 1) printf("Yes\n");
    else printf("No\n");
  }
  return 0;
}