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

A = list(map(int,input().split()))



s = sum(A)

A = sorted(A,reverse=True)



for i in range(N):

    if i == M-1:

        if (s/(4*M))>A[i]:

            print('No')

        else:

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

A = list(map(int,input().split()))



s = sum(A)

A.sort(reverse=True)



for i in range(N):

    if i == M-1:

        if (s/(4*M))>A[i]:

            print('No')

        else:

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

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

-A = sorted(A, reverse=True) +A.sort(reverse=True)