#include <bits/stdc++.h>
using namespace std;
int main(int argc, char* argv[]) {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int N;
  cin >> N;
  vector<int> R(N);
  for (int i = 0, _n = (N); i < _n; ++i) cin >> R[i];
  int best = 0;
  for (int i = 0, _n = (N); i < _n; ++i) {
    int sum = 0;
    for (int j = (i), _b = (N - 1); j <= _b; ++j) {
      sum += R[j];
      int t = j - i + 1;
      if (sum > 100 * t) best = max(best, t);
    }
  }
  cout << best << '\n';
  return 0;
}
