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

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

print('No' if (4*m)*a[n-m]<sum(a) else 'Yes')
n,m=list(map(int,input().split()))

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

print('No' if 4*m*a[n-m]<sum(a) else 'Yes')

n, m = list(map(int, input().split()))
a = sorted(map(int, input().split()))
print("No" if (4 * m) * a[n - m] < sum(a) else "Yes")

n, m = list(map(int, input().split()))
a = sorted(map(int, input().split()))
print("No" if 4 * m * a[n - m] < sum(a) else "Yes")

-print("No" if (4 * m) * a[n - m] < sum(a) else "Yes") +print("No" if 4 * m * a[n - m] < sum(a) else "Yes")