from decimal import Decimal

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

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

border = float(sum(A)/(4*m))

border2 = str(border)

border3 = Decimal(border2)

ans = 0

judge = 0

for i in range(n):

  if A[i] >= border3:

    ans+=1

if ans >= m:

  print("Yes")

else:

  print("No")

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

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

judge = sum(A) / (4 * m)

ans = []

for i in range(n):

  if A[i] < judge :

    continue

  else:

    ans.append(A[i])

print("Yes") if len(ans) >= m else print("No")

from decimal import Decimal

n, m = list(map(int, input().split()))
A = list(map(int, input().split()))
border = float(sum(A) / (4 * m))
border2 = str(border)
border3 = Decimal(border2)
ans = 0
judge = 0
for i in range(n):
    if A[i] >= border3:
        ans += 1
if ans >= m:
    print("Yes")
else:
    print("No")

n, m = map(int, input().split())
A = list(map(int, input().split()))
judge = sum(A) / (4 * m)
ans = []
for i in range(n):
    if A[i] < judge:
        continue
    else:
        ans.append(A[i])
print("Yes") if len(ans) >= m else print("No")

-from decimal import Decimal - -n, m = list(map(int, input().split())) +n, m = map(int, input().split()) -border = float(sum(A) / (4 * m)) -border2 = str(border) -border3 = Decimal(border2) -ans = 0 -judge = 0 +judge = sum(A) / (4 * m) +ans = [] -    if A[i] >= border3: -        ans += 1 -if ans >= m: -    print("Yes") -else: -    print("No") +    if A[i] < judge: +        continue +    else: +        ans.append(A[i]) +print("Yes") if len(ans) >= m else print("No")