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

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

s=sum(b)

a=[i for i in b if i>=s/(4*m)]

print(("Yes" if len(a)>=m else "No"))
a = list(map(int, input().split()))

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



cnt = 0

for i in b:

    if i >= sum(b)/(4*a[1]):

        cnt +=1

    else:

        pass

    

if cnt >= a[1]:

    print("Yes")

else:

    print("No")
n, m = list(map(int, input().split()))
b = list(map(int, input().split()))
s = sum(b)
a = [i for i in b if i >= s / (4 * m)]
print(("Yes" if len(a) >= m else "No"))

a = list(map(int, input().split()))
b = list(map(int, input().split()))
cnt = 0
for i in b:
    if i >= sum(b) / (4 * a[1]):
        cnt += 1
    else:
        pass
if cnt >= a[1]:
    print("Yes")
else:
    print("No")

-n, m = list(map(int, input().split())) +a = list(map(int, input().split())) -s = sum(b) -a = [i for i in b if i >= s / (4 * m)] -print(("Yes" if len(a) >= m else "No")) +cnt = 0 +for i in b: +    if i >= sum(b) / (4 * a[1]): +        cnt += 1 +    else: +        pass +if cnt >= a[1]: +    print("Yes") +else: +    print("No")