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

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

s = sum(a)

p = s / (4 * m)

cnt = 0

for i in range(n):

    if a[i] >= p:

        cnt += 1

if cnt >= m:

    print('Yes')

else:

    print('No')

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

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



a.sort(reverse=True)

su = sum(a)



for i in range(m):

    if a[i] < su/(4*m):

        print("No")

        exit(0)



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

n, m = list(map(int, input().split()))
a = list(map(int, input().split()))
a.sort(reverse=True)
su = sum(a)
for i in range(m):
    if a[i] < su / (4 * m):
        print("No")
        exit(0)
print("Yes")

-s = sum(a) -p = s / (4 * m) -cnt = 0 -for i in range(n): -    if a[i] >= p: -        cnt += 1 -if cnt >= m: -    print("Yes") -else: -    print("No") +a.sort(reverse=True) +su = sum(a) +for i in range(m): +    if a[i] < su / (4 * m): +        print("No") +        exit(0) +print("Yes")