use std::str::FromStr;

fn main() {
    let stdin_ = std::io::stdin();
    let stdout_ = std::io::stdout();
    let mut stdin = stdin_.lock();
    let mut stdout = stdout_.lock();

    let mut buffer = String::new();
    stdin.read_line(&mut buffer).unwrap();
    let n = buffer
        .split_whitespace()
        .map(|s| usize::from_str(s).unwrap())
        .next()
        .unwrap();
    buffer.clear();
    stdin.read_line(&mut buffer).unwrap();
    let h = buffer
        .split_whitespace()
        .map(|s| u64::from_str(s).unwrap())
        .collect::<Vec<u64>>();

    let mut c = 0;
    for i in 0..n {
        if h[0..i].iter().all(|&j| j <= h[i]) {
            c += 1;
        }
    }

    write!(stdout, "{}\n", c).unwrap();
}
