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