#include <bits/stdc++.h>
using namespace std;
const int inf = 1e9;
const int maxn = 5555;
int s[maxn];
int main(int argc, char const *argv[]) {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n;
  cin >> n;
  for (int i = 1; i <= n; ++i) {
    int t;
    cin >> t;
    s[i] = s[i - 1] + t;
  }
  int res = 0;
  for (int i = 1; i <= n; ++i) {
    for (int j = i; j <= n; ++j) {
      int sum = s[j] - s[i - 1];
      int t = j - i + 1;
      if (sum > t * 100 && t > res) res = t;
    }
  }
  cout << res << endl;
  return 0;
}
