#include <bits/stdc++.h>
using namespace std;
long long int a[200005], b[200005], c[200005], vis[200005];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int n, k;
  cin >> n >> k;
  for (long long int i = 0; i < n; i++) cin >> a[i];
  long long int j = 0, m = 0, ans = 0;
  for (long long int i = 0; i < k; i++) b[i] = a[j++];
  while (m < n) {
    long long int q = 100.0 * (float)m / (float)n + 0.5;
    for (long long int i = 0; i < k; i++) {
      if (b[i]) {
        c[i]++;
        if (c[i] == q && !vis[i]) vis[i] = 1, ans++;
        if (c[i] >= b[i]) {
          vis[i] = 0;
          b[i] = a[j++];
          c[i] = 0;
          m++;
        }
      }
    }
  }
  cout << ans << endl;
  return 0;
}
