#include <bits/stdc++.h>
using namespace std;
long long a[5003];
int main() {
  int n;
  scanf("%d", &n);
  long long int maxx = 0;
  for (int i = 1; i <= n; i++) scanf("%I64d", &a[i]), a[i] += a[i - 1];
  for (long long int i = 1; i <= n; i++) {
    for (long long int j = 1; j <= i; j++) {
      if (a[i] - a[j - 1] > 100 * (i - j + 1)) {
        maxx = max(maxx, i - j + 1);
      }
    }
  }
  printf("%I64d\n", maxx);
  return 0;
}
