#include <bits/stdc++.h>
using namespace std;
const int mx = 5e3 + 10;
int s[mx];
int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    int x;
    cin >> x;
    s[i] = s[i - 1] + x;
  }
  int ans = 0;
  for (int i = 1; i <= n; i++)
    for (int j = i; j <= n; j++)
      if ((s[j] - s[i - 1]) / (double)(j - i + 1) > 100)
        ans = max(ans, j - i + 1);
  cout << ans << endl;
}
