#include <bits/stdc++.h>
using namespace std;
long long mod = 1000000007;
long long INF = 1e18;
int32_t main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  long long n, k;
  cin >> n >> k;
  vector<long long> v(n);
  for (long long i = 0; i < n; i++) cin >> v[i];
  long long index = 0;
  vector<pair<long long, long long> > threads;
  for (long long i = 0; i < n && i < k; i++) {
    threads.push_back(make_pair(1, i));
    index++;
  }
  long long done = 0;
  vector<bool> ans(n, false);
  while (threads.size() > 0) {
    for (long long i = 0; i < threads.size(); i++) {
      threads[i].first++;
      if (threads[i].first > v[threads[i].second]) {
        if (index < n) {
          threads[i] = make_pair(1, index);
          index++;
        } else {
          threads.erase(threads.begin() + i);
          i--;
        }
        done++;
      }
    }
    for (long long i = 0; i < threads.size(); i++) {
      if (((long long)(done * 100.0 / n + 0.5)) == threads[i].first)
        ans[threads[i].second] = true;
    }
  }
  long long c = 0;
  for (long long i = 0; i < n; i++) c += ans[i] == true;
  cout << c << '\n';
  return 0;
}
