#include <stdio.h>
#include <stdlib.h>

int compare_int(const void *a, const void *b){
  return *(int *)a - *(int *)b;
}

int main(int argc, char const *argv[]) {

  int N, M, sum;
  sum = 0;
  scanf("%d", &N);
  scanf("%d", &M);
  printf("%d %d\n", N, M);

  int A[1000];
  for (int i = 0; i < N; i++) {
    scanf("%d", A + i);
    sum = sum + A[i];
  }

  printf("総投票数は%d\n", sum);
  qsort(A, N, sizeof(int), compare_int);

  for (int i = 0; i < N; i++) {
    printf("%d\n", A[i]);
  }

  int min = sum / (4 * M);
  if (A[N - (M - 1)] < min) {
    printf("No\n");
  }else{
    printf("yes\n");
  }

  return 0;
}
