import sys

input = sys.stdin.readline

N, M = list(map(int, input().split()))

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

sm = sum(a)

t = 0

for i in range(N):

  if a[i] >= sm / (4 * M): t += 1

if t >= M: print("Yes")

else: print("No")
import sys

input = sys.stdin.readline

N, M = list(map(int, input().split()))

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

a.sort(reverse = True)

sm = sum(a)

for i in range(M):

  if a[i] < sm / 4 / M:

    print("No")

    break

else: print("Yes")
import sys

input = sys.stdin.readline
N, M = list(map(int, input().split()))
a = list(map(int, input().split()))
sm = sum(a)
t = 0
for i in range(N):
    if a[i] >= sm / (4 * M):
        t += 1
if t >= M:
    print("Yes")
else:
    print("No")

import sys

input = sys.stdin.readline
N, M = list(map(int, input().split()))
a = list(map(int, input().split()))
a.sort(reverse=True)
sm = sum(a)
for i in range(M):
    if a[i] < sm / 4 / M:
        print("No")
        break
else:
    print("Yes")

+a.sort(reverse=True) -t = 0 -for i in range(N): -    if a[i] >= sm / (4 * M): -        t += 1 -if t >= M: +for i in range(M): +    if a[i] < sm / 4 / M: +        print("No") +        break +else: -else: -    print("No")