#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, j, s, maxim = 0, contor = 0;
  cin >> n;
  int v[5000];
  for (i = 1; i <= n; i++) {
    cin >> v[i];
    s = v[i];
    if (v[i] > 100) maxim = max(maxim, 1);
    for (j = i - 1; j >= 1; j--) {
      s += v[j];
      if (s > (i - j + 1) * 100) maxim = max(maxim, i - j + 1);
    }
  }
  cout << maxim;
  return 0;
}
