#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> r(n);
  for (int i = 0; i < n; i++) cin >> r[i];
  vector<vector<int> > sum(n, vector<int>(n, 0));
  int s = 0;
  for (int i = 0; i < n; i++) {
    for (int j = i; j < n; j++) {
      s += r[j];
      sum[i][j] = s;
    }
    s = 0;
  }
  int maxl = 0;
  for (int i = 0; i < n; i++) {
    for (int j = i; j < n; j++) {
      if (sum[i][j] > 100 * (j - i + 1)) {
        maxl = max(maxl, j - i + 1);
      }
    }
  }
  cout << maxl;
  return 0;
}
