#include <bits/stdc++.h>
using namespace std;
const int N = 5e3 + 10;
int a[N];
int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
    a[i] += a[i - 1];
  }
  int ans = 0;
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= n; j++) {
      if (a[j] - a[i - 1] > 100 * (j - i + 1)) ans = max(ans, j - i + 1);
    }
  }
  cout << ans << endl;
  return 0;
}
