#include <bits/stdc++.h>
using namespace std;
int syst(double m, double n) { return (int)((100.0 * m / n) + 0.5); }
int main() {
  int n, k;
  cin >> n >> k;
  int a[n];
  for (int i = 0; i < n; i++) cin >> a[i];
  int idx = 0;
  int m = 0;
  int e[k], id[k];
  for (int i = 0; i < k; i++) e[i] = id[i] = -1;
  int res = 0;
  vector<bool> interesting(n, 0);
  for (int i = 0; i < min(n, k); i++) {
    e[i] = a[i];
    id[i] = i;
    idx++;
  }
  for (int o = 1; o <= 150000; o++) {
    for (int i = 0; i < k; i++) {
      if (e[i] == o) {
        m++;
        if (idx < n) {
          e[i] += a[idx];
          id[i] = idx;
          idx++;
        } else
          e[i] = -1;
      }
    }
    int q = syst(m, n);
    bool done = 1;
    for (int i = 0; i < k; i++) {
      if (e[i] == -1) continue;
      done = 0;
      if ((o - (e[i] - a[id[i]]) + 1) == q && interesting[id[i]] == 0) {
        interesting[id[i]] = 1;
        res++;
      }
    }
    if (done) break;
  }
  cout << res << endl;
  return 0;
}
