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