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

int main()
{
    int i,n,m,a[101],sum=0,count=0;
    scanf("%d %d",&n,&m);
    for(i=0;i<n;i++){
        scanf("%d",a[i]);
        sum=sum+a[i];
    }
    double x=sum/(4*m);
        for(i=0;i<n;i++){
        if(a[i]>=x){
            count++;
        }
    }
    if(count>=m){
        printf("YES\n");
    }

    else{
        printf("NO\n");
    }


    return 0;
}
