#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n;
  cin >> n;
  vector<int> q(n);
  for (int& x : q) cin >> x;
  int ans = 0;
  for (int l = 0; l < n; l++) {
    long long sum = 0;
    for (int r = l; r < n; r++) {
      sum += q[r];
      int length = r - l + 1;
      if (sum > length * 100ll) ans = max(ans, length);
    }
  }
  cout << ans;
  return false;
}
