#include <bits/stdc++.h>
using namespace std;
int main() {
  long long i, j, k, n, res = 0, cur = 0;
  cin >> n;
  long long a[n + 1];
  a[0] = 0;
  for (i = 1; i <= n; i++) {
    cin >> a[i];
    a[i] += a[i - 1];
  }
  for (i = 0; i <= n; i++) {
    for (j = i + 1; j <= n; j++) {
      if (a[j] - a[i] > 100 * (j - i)) res = max(res, j - i);
    }
  }
  cout << res;
}
