#include<stdio.h>
int main(void) {
  int N, M;
  scanf("%d %d", &N, &M);
  int A[100];
  int i, counter = 0;
  for (i = 0; i < N; i++) {
    scanf("%d", &A[i]);
    if (A[i] >= N / 4 / M)
      counter++;
  }
  if (counter >= M)
    printf("Yes\n");
  else
    printf("No\n");
  return 0;
}