#include <bits/stdc++.h>
using namespace std;
long long r[5005];
int main() {
  long long t = 0, n, x, y, z, i, j, k, g, q, ans = 0, sum = 0, c = 0;
  scanf("%lld", &n);
  for (i = 1; i <= n; i++) scanf("%lld", &r[i]);
  for (i = 1; i <= n; i++) {
    sum = 0;
    for (j = i; j <= n; j++) {
      sum += r[j];
      t = j - i + 1;
      if (sum > (100 * t)) ans = max(ans, t);
    }
  }
  printf("%lld\n", ans);
  return 0;
}
