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