from decimal import Decimal

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

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

border = float(sum(A)*(1/(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")
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")

from decimal import Decimal

n, m = list(map(int, input().split()))
A = list(map(int, input().split()))
border = float(sum(A) * (1 / (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")

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")

-border = float(sum(A) * (1 / (4 * m))) +border = float(sum(A) / (4 * m))