#include<stdio.h>
int main()
{
    int a,i,c=0;
    double t,sum=0.00,b;
    scanf("%d%lf",&a,&b);
    int v[a];
    for ( i = 0; i < a; i++)
    {
         scanf("%d",&v[i]);
         sum=sum+v[i];
    }
      t=1/(4*b);
    for ( i = 0; i < a; i++)
    {
        if(v[i]>=sum*t)
        {
            c++;
            if(c==b)
            {
              printf("YES\n");
            break;  
            }
             
        }
      
    }

  if(c!=b)
   printf("NO\n"); 
    
}