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