n, m = list(map(int, input().split()))

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

if A[m - 1] < sum(A) / (4 * m):

    print('No')

else:

    print('Yes')
n, m = list(map(int, input().split()))

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

if A[m - 1] >= sum(A) / (4 * m):

    print('Yes')

else:

    print('No')
n, m = list(map(int, input().split()))
A = sorted(list(map(int, input().split())), reverse=True)
if A[m - 1] < sum(A) / (4 * m):
    print("No")
else:
    print("Yes")

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

-if A[m - 1] < sum(A) / (4 * m): +if A[m - 1] >= sum(A) / (4 * m): +    print("Yes") +else: -else: -    print("Yes")