#include <bits/stdc++.h>
using namespace std;
long long i = 0, j = 0, k = 0, cnt = 0, sum = 0, start = 0, finall = 0,
          maxi = 0, mini = 1000000007, len = 0, cnt1 = 0, cnt2 = 0, ans = 0;
int flag = 0;
long long arr[5001];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t = 1;
  while (t--) {
    int n;
    cin >> n;
    for (i = 1; i <= n; i++) {
      cin >> arr[i];
    }
    for (i = 1; i <= n; i++) {
      sum = 0;
      for (j = i; j <= n; j++) {
        sum += arr[j];
        if (sum > 100 * (j - i + 1)) {
          ans = max(ans, j - i + 1);
        }
      }
    }
    cout << ans << "\n";
  }
}
