#include <bits/stdc++.h>
using namespace std;
unsigned long long s[5001];
int main(int argc, char* argv[]) {
  ios_base::sync_with_stdio(false);
  int n;
  cin >> n;
  for (int i = 1; i <= n; ++i) {
    cin >> s[i];
    s[i] += s[i - 1];
  }
  int r = 0;
  unsigned long long ca = n * 100;
  for (int i = n; i > 0; --i) {
    for (int j = 0; j + i <= n; ++j) {
      unsigned long long cs = s[j + i] - s[j];
      if (cs > ca) {
        r = i;
        break;
      }
    }
    if (r) break;
    ca -= 100;
  }
  cout << r << '\n';
  return 0;
}
