← Home
use std::io;


fn main(){
    let mut input = String::new();
    io::stdin().read_line(&mut input).expect("Failed to read line");
    let n: usize = input.trim().parse().expect("Input is not an integer");
    input.clear();
    io::stdin().read_line(&mut input).expect("Failed to read line");
    let r: Vec<i32> = input
        .trim()
        .split_whitespace()
        .map(|x| x.parse().expect("Not an integer"))
        .collect();

    let mut c = vec![0;n];
    let mut ans = 0;
    c[0] = r[0];
    for i in 1..n {
        c[i] = c[i-1]+r[i];
    }
    for i in 0..n{
        for j in i..n{
            let mut sum = c[j];
            if i > 0 {
                sum -= c[i-1];
            }
            if sum > (j-i+1) as i32 *100 {
                if j-i+1 > ans {
                    ans = j-i+1;
                }
            }
        }
    }
    println!("{ans}");
}