N,M=list(map(int,input().split()))

A=sorted(map(int,input().split()),reverse=True)

s=sum(A)

if(4*M*A[M-1]>=s):

    print('Yes')

else:

    print('No')
from collections import Counter

N,M=list(map(int,input().split()))

A=sorted(map(int,input().split()),reverse=True)

s=sum(A)/(4*M)

for i in range(M):

    if A[i]<s:

        print('No')

        exit()

print('Yes')
N, M = list(map(int, input().split()))
A = sorted(map(int, input().split()), reverse=True)
s = sum(A)
if 4 * M * A[M - 1] >= s:
    print("Yes")
else:
    print("No")

from collections import Counter

N, M = list(map(int, input().split()))
A = sorted(map(int, input().split()), reverse=True)
s = sum(A) / (4 * M)
for i in range(M):
    if A[i] < s:
        print("No")
        exit()
print("Yes")

+from collections import Counter + -s = sum(A) -if 4 * M * A[M - 1] >= s: -    print("Yes") -else: -    print("No") +s = sum(A) / (4 * M) +for i in range(M): +    if A[i] < s: +        print("No") +        exit() +print("Yes")