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