#include <stdio.h>
int main(void)
{
    int n, m, i, j;
  	int ans, sum, tmp;
    scanf("%d",&n);
    scanf("%d",&m);
    int a[n];
    sum == 0;
    for (i = 0; i < n;i++){
        scanf("%d",&a[i]);
        sum = sum + a[i];
    }
    ans = sum / (4 * m);
 
    for (i=0; i<n; ++i) {
    for (j=i+1; j<n; ++j) {
      if (a[i] > a[j]) {
        tmp =  a[i];
        a[i] = a[j];
        a[j] = tmp;
      }
    }
  }
 
  if(ans > a[m]){
      printf("yes");
  }
  else{
      printf("no");
  }
    return 0;
}