#include <bits/stdc++.h>
using namespace std;
const int MAXN = 5000 + 10;
int n;
int a[MAXN];
int main() {
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) {
    scanf("%d", &a[i]);
    a[i] += a[i - 1];
  }
  int ans = 0;
  for (int i = 1; i <= n; i++) {
    for (int j = 0; i + j <= n; j++) {
      if ((a[i + j] - a[i - 1]) > 1LL * (j + 1) * 100) {
        ans = max(ans, j + 1);
      }
    }
  }
  printf("%d", ans);
  return 0;
}
