#include <stdio.h>

int main(){
  int n,m,a[100],ans=0;
  double total=0;
  scanf("%d%d",&n,&m);
  for (int i=0;i<n;i++) {
    scanf("%d",&a[i]);
    total+=a[i];
}
  for (int i=0;i<n;i++){
  if (1.0/(4*m) <= (a[i])/ total) ans++;
}
  if (ans>=m)printf("YES");
  else printf("NO");

  return 0;


}