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