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