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

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

if A[M-1]>=sum(A)/(4*M):

    print("Yes")

else:

    print("No")
import math

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

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

a = sum(A)

b = math.ceil(a/(4*M))

cnt = 0

for i in range(N):

    if A[i]>=b:

        cnt += 1

if cnt>=M:

    print("Yes")

else:

    print("No")
N, M = list(map(int, input().split()))
A = sorted(list(map(int, input().split())), reverse=True)
if A[M - 1] >= sum(A) / (4 * M):
    print("Yes")
else:
    print("No")

import math

N, M = list(map(int, input().split()))
A = list(map(int, input().split()))
a = sum(A)
b = math.ceil(a / (4 * M))
cnt = 0
for i in range(N):
    if A[i] >= b:
        cnt += 1
if cnt >= M:
    print("Yes")
else:
    print("No")

+import math + -A = sorted(list(map(int, input().split())), reverse=True) -if A[M - 1] >= sum(A) / (4 * M): +A = list(map(int, input().split())) +a = sum(A) +b = math.ceil(a / (4 * M)) +cnt = 0 +for i in range(N): +    if A[i] >= b: +        cnt += 1 +if cnt >= M: