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