#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long int n;
  cin >> n;
  ;
  vector<long long int> val(n);
  for (long long int i = 0; i < n; i++) cin >> val[i];
  ;
  long long int sum = 0;
  long long int cnt = 0;
  bool found = 0;
  for (long long int i = 0; i < n; i += 1) {
    sum = 0;
    for (long long int j = i; j < n; j += 1) {
      long long int no = j - i + 1;
      sum += val[j];
      if (sum > no * 100) cnt = max(no, cnt);
    }
  }
  cout << cnt << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  solve();
  return 0;
}
