#include <bits/stdc++.h>
using namespace std;
int n, res = 0, a[5005];
void Code() {
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
    a[i] += a[i - 1];
  }
  for (int i = 1; i <= n; i++)
    for (int j = i; j <= n; j++)
      if (a[j] - a[i - 1] > 100 * (j - i + 1)) res = max(res, j - i + 1);
  cout << res;
}
int main() {
  ios_base::sync_with_stdio(false);
  Code();
}
