#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using pii = pair<int, int>;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  vector<int> v(n);
  for (int i = 0; i < n; ++i) {
    cin >> v[i];
  }
  int lo = 0;
  for (int mid = n; mid > 0; --mid) {
    int goal = 100 * mid;
    int cur = 0;
    for (int i = 0; i < mid; ++i) {
      cur += v[i];
    }
    bool poss = false;
    poss |= cur > goal;
    for (int i = mid; i < n; ++i) {
      cur -= v[i - mid];
      cur += v[i];
      poss |= cur > goal;
    }
    if (poss) {
      lo = mid;
      break;
    }
  }
  cout << lo << '\n';
  return 0;
}
