#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, R[5001];
  cin >> N;
  R[0] = 0;
  for (int i = 1; i <= N; i++) {
    int r;
    cin >> r;
    R[i] = R[i - 1] + r - 100;
  }
  for (int d = N; d > 0; d--) {
    for (int i = d; i <= N; i++) {
      if (R[i] - R[i - d] > 0) {
        cout << d << endl;
        return 0;
      }
    }
  }
  cout << 0 << endl;
  return 0;
}
