#include<stdio.h>
int main()
{
	int N, M, A[20], i, TN = 0, count = 0;
	double E = 0.0;
	
	scanf("%d %d\n",&N, &M);
    for (i= 0; i< N; i ++){
        
        scanf("%d", &A[i]);
        TN += A[i];	
    }

	E = (double)TN/(double)(4*M);
	for (i= 0; i< N; i++){
	    if((double)A[i] >= E)
	        count += 1;
	}
	if (count >= M){
	    printf("YES");
	}else{
	    printf("NO");
	}
	return 0;
}