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