#include <bits/stdc++.h>
using namespace std;
int main() {
  char s[400005];
  int n, k;
  char c = 'a';
  int T[26];
  memset(T, 0, sizeof(T));
  cin >> n >> k;
  for (int i = 0; i < n; i++) {
    scanf(" %c", &s[i]);
    T[s[i] - 'a']++;
  }
  int maxx;
  for (int i = 0; i < 26; i++) {
    if (k >= T[i])
      k -= T[i];
    else {
      maxx = i, T[i] = k;
      break;
    }
  }
  for (int i = 0; i < n; i++) {
    if (s[i] - 'a' <= maxx && T[s[i] - 'a'] > 0)
      T[s[i] - 'a']--, s[i] = '*';
    else
      printf("%c", s[i]);
  }
  printf("\n");
}
