#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k;
  cin >> n >> k;
  vector<int> a(n);
  for (int& i : a) cin >> i;
  int ai = 0;
  int m = 0;
  int ans = 0;
  vector<int> tn(k, -1), ti(k);
  vector<bool> ch(k);
  while (true) {
    for (int i = 0; i < k; i++) {
      if (tn[i] != -1) {
        tn[i]++;
        if (tn[i] == a[ti[i]]) {
          tn[i] = -1;
          m++;
          ch[i] = 0;
        }
      }
    }
    for (int i = 0; i < k; i++) {
      if (tn[i] == -1) {
        if (ai < n) {
          ti[i] = ai;
          ai++;
          tn[i] = 0;
        }
      }
    }
    for (int i = 0; i < k; i++) {
      int d = round(100 * (float)m / (float)n);
      if (tn[i] != -1 && !ch[i] && d == tn[i] + 1) {
        ans++;
        ch[i] = 1;
      }
    }
    bool nope = 0;
    for (int i = 0; i < k; i++) {
      if (tn[i] != -1) {
        nope = 1;
        break;
      }
    }
    if (!nope) break;
  }
  cout << ans;
}
