#include <bits/stdc++.h>
using namespace std;
const int MOD = (int)1e9 + 7, MAX = (int)1e5 + 10;
int a[MAX], pre[MAX];
int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
    pre[i] = a[i] + pre[i - 1];
  }
  int mx = 0;
  for (int i = 0; i <= n; i++) {
    for (int j = i; j <= n; j++) {
      if ((pre[j] - pre[i]) > (j - i) * 100) {
        mx = max(mx, j - i);
      }
    }
  }
  cout << mx;
}
