x,y= list(map(int, input().split()))

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

i.sort(reverse=True)

k=sum(i)

flag=0

if i[y-1]>=k/(4*y):

    print("Yes")

else:

    print("No")
x,y= list(map(int, input().split()))

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

i.sort(reverse=True)

k=sum(i)

flag=0

for j in range(x):

    if i[j]*4*y>=k:

        flag+=1

if flag<y:

    print("No")

else:

    print("Yes")
x, y = list(map(int, input().split()))
i = list(map(int, input().split()))
i.sort(reverse=True)
k = sum(i)
flag = 0
if i[y - 1] >= k / (4 * y):
    print("Yes")
else:
    print("No")

x, y = list(map(int, input().split()))
i = list(map(int, input().split()))
i.sort(reverse=True)
k = sum(i)
flag = 0
for j in range(x):
    if i[j] * 4 * y >= k:
        flag += 1
if flag < y:
    print("No")
else:
    print("Yes")

-if i[y - 1] >= k / (4 * y): +for j in range(x): +    if i[j] * 4 * y >= k: +        flag += 1 +if flag < y: +    print("No") +else: -else: -    print("No")