from decimal import Decimal



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

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

line = Decimal(sum(A) / (4 * m))

cnt = 0

for a in A:

    if a >= line:

        cnt += 1

    if cnt >= m:

        print('Yes')

        break

else:

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

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

s = sum(A)

cnt = 0

for a in A:

    if a*4*m >= s:

        cnt += 1

    if cnt >= m:

        print('Yes')

        break

else:

    print('No')
from decimal import Decimal

n, m = list(map(int, input().split()))
A = list(map(int, input().split()))
line = Decimal(sum(A) / (4 * m))
cnt = 0
for a in A:
    if a >= line:
        cnt += 1
    if cnt >= m:
        print("Yes")
        break
else:
    print("No")

n, m = list(map(int, input().split()))
A = sorted(list(map(int, input().split())), reverse=True)
s = sum(A)
cnt = 0
for a in A:
    if a * 4 * m >= s:
        cnt += 1
    if cnt >= m:
        print("Yes")
        break
else:
    print("No")

-from decimal import Decimal - -A = list(map(int, input().split())) -line = Decimal(sum(A) / (4 * m)) +A = sorted(list(map(int, input().split())), reverse=True) +s = sum(A) -    if a >= line: +    if a * 4 * m >= s: