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

a = [int(s) for s in input().split()]

a.sort(reverse=True)



if a[m-1]*4*m >= sum(a):

  print("Yes")

else:

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

a = [int(x) for x in input().split()]

a.sort(reverse=True)

if a[m-1]*4*m >= sum(a):

  print("Yes")

else:

  print("No")
n, m = list(map(int, input().split()))
a = [int(s) for s in input().split()]
a.sort(reverse=True)
if a[m - 1] * 4 * m >= sum(a):
    print("Yes")
else:
    print("No")

n, m = list(map(int, input().split()))
a = [int(x) for x in input().split()]
a.sort(reverse=True)
if a[m - 1] * 4 * m >= sum(a):
    print("Yes")
else:
    print("No")

-a = [int(s) for s in input().split()] +a = [int(x) for x in input().split()]