#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, r;
  cin >> n;
  int a[5000];
  int result = 0;
  for (int i = 0; i < n; i++) {
    cin >> r;
    a[i] = r;
  }
  for (int s = 1; s <= n; s++) {
    int sum = 0;
    for (int i = 0; i < n; i++) {
      sum += a[i];
      if (i >= s) sum -= a[i - s];
      if (i >= s - 1) {
        if (sum > 100 * s) {
          result = max(result, s);
          break;
        }
      }
    }
  }
  cout << result;
}
