#include <bits/stdc++.h>
using namespace std;
const long long N = 5e3 + 10;
long long a[N], pref[N];
int main() {
  ios_base ::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long n;
  cin >> n;
  for (long long i = 1; i <= n; ++i) {
    cin >> a[i];
    pref[i] = pref[i - 1] + a[i];
  }
  long long max_ln = 0;
  for (long long l = 1; l <= n; ++l) {
    for (long long r = l; r <= n; ++r) {
      auto ln = r - l + 1;
      if (pref[r] - pref[l - 1] > 100 * ln) {
        max_ln = max(max_ln, ln);
      }
    }
  }
  cout << max_ln << "\n";
  return 0;
}
