import java.util.*;

public class Main{
    void solve(){
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++) h[i] = scan.nextInt();
        int out = 1;
        for(int i = 1; i < n; i++){
            boolean ok = true;
            for(int j = 0; j < i; j++){
                if(h[i] < h[j]) {
                    ok = false;
                }
            }
            if(ok) out++;
        }
        System.out.println(out);
    }
    
    public static void main(String[] args){
        new Main().solve();
    }
} import java.util.*; util.* java public class Main{
    void solve(){
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++) h[i] = scan.nextInt();
        int out = 1;
        for(int i = 1; i < n; i++){
            boolean ok = true;
            for(int j = 0; j < i; j++){
                if(h[i] < h[j]) {
                    ok = false;
                }
            }
            if(ok) out++;
        }
        System.out.println(out);
    }
    
    public static void main(String[] args){
        new Main().solve();
    }
} Main void solve(){
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++) h[i] = scan.nextInt();
        int out = 1;
        for(int i = 1; i < n; i++){
            boolean ok = true;
            for(int j = 0; j < i; j++){
                if(h[i] < h[j]) {
                    ok = false;
                }
            }
            if(ok) out++;
        }
        System.out.println(out);
    } solve {
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++) h[i] = scan.nextInt();
        int out = 1;
        for(int i = 1; i < n; i++){
            boolean ok = true;
            for(int j = 0; j < i; j++){
                if(h[i] < h[j]) {
                    ok = false;
                }
            }
            if(ok) out++;
        }
        System.out.println(out);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int[] h = new int[n]; h new int[n] n for(int i = 0; i < n; i++) h[i] = scan.nextInt(); int i = 0; int i = 0; i 0 i < n i n i++ i++ i h[i] = scan.nextInt(); h[i] = scan.nextInt() h[i] h i scan.nextInt() scan.nextInt scan int out = 1; out 1 for(int i = 1; i < n; i++){
            boolean ok = true;
            for(int j = 0; j < i; j++){
                if(h[i] < h[j]) {
                    ok = false;
                }
            }
            if(ok) out++;
        } int i = 1; int i = 1; i 1 i < n i n i++ i++ i {
            boolean ok = true;
            for(int j = 0; j < i; j++){
                if(h[i] < h[j]) {
                    ok = false;
                }
            }
            if(ok) out++;
        } {
            boolean ok = true;
            for(int j = 0; j < i; j++){
                if(h[i] < h[j]) {
                    ok = false;
                }
            }
            if(ok) out++;
        } boolean ok = true; ok true for(int j = 0; j < i; j++){
                if(h[i] < h[j]) {
                    ok = false;
                }
            } int j = 0; int j = 0; j 0 j < i j i j++ j++ j {
                if(h[i] < h[j]) {
                    ok = false;
                }
            } {
                if(h[i] < h[j]) {
                    ok = false;
                }
            } if(h[i] < h[j]) {
                    ok = false;
                } h[i] < h[j] h[i] h i h[j] h j {
                    ok = false;
                } ok = false ok false if(ok) out++; ok out++ out System.out.println(out) System.out.println System.out System System.out out public static void main(String[] args){
        new Main().solve();
    } main {
        new Main().solve();
    } new Main().solve() new Main().solve new Main() String[] args args public class Main{
    void solve(){
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++) h[i] = scan.nextInt();
        int out = 1;
        for(int i = 1; i < n; i++){
            boolean ok = true;
            for(int j = 0; j < i; j++){
                if(h[i] < h[j]) {
                    ok = false;
                }
            }
            if(ok) out++;
        }
        System.out.println(out);
    }
    
    public static void main(String[] args){
        new Main().solve();
    }
} public class Main{
    void solve(){
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++) h[i] = scan.nextInt();
        int out = 1;
        for(int i = 1; i < n; i++){
            boolean ok = true;
            for(int j = 0; j < i; j++){
                if(h[i] < h[j]) {
                    ok = false;
                }
            }
            if(ok) out++;
        }
        System.out.println(out);
    }
    
    public static void main(String[] args){
        new Main().solve();
    }
} Main
import java.util.*;

public class Main{
    void solve(){
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        int[] h = new int[n];
        for(int i = 0; i < n; i++) h[i] = scan.nextInt();
        int out = 1;
        for(int i = 1; i < n; i++){
            boolean ok = true;
            for(int j = 0; j < i; j++){
                if(h[i] < h[j]) {
                    ok = false;
                }
            }
            if(ok) out++;
        }
        System.out.println(out);
    }
    
    public static void main(String[] args){
        new Main().solve();
    }
}