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

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