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