#include <bits/stdc++.h>
using namespace std;
const double PI = 3.14159265358979323846;
const double eps = (1e-8);
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, k;
  cin >> n >> k;
  vector<int> a(n);
  vector<pair<int, int> > p(k, {-1, -1});
  vector<bool> visit(n);
  for (int i = 0; i < n; ++i) cin >> a[i];
  for (int i = 0; i < min(n, k); ++i) {
    p[i].first = 0;
    p[i].second = i;
  }
  int ptr = min(n, k);
  int done = 0;
  int ans = 0;
  while (done < n) {
    for (int i = 0; i < k; ++i) {
      if (p[i].second != -1) {
        double temp = 100.0 * done / n;
        int x = temp + 0.5;
        if (p[i].first + 1 == x && !visit[p[i].second]) {
          ans++;
          visit[p[i].second] = 1;
        }
      }
    }
    for (int i = 0; i < k; ++i) {
      if (p[i].second != -1) {
        p[i].first++;
        if (p[i].first == a[p[i].second]) {
          p[i] = {-1, -1};
          done++;
          if (ptr < n) {
            p[i].first = 0;
            p[i].second = ptr;
            ++ptr;
          }
        }
      }
    }
  }
  cout << ans;
  return 0;
}
