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