import java.util.*;

public class Main {

    public static void main(String[] args) {

        Scanner scan = new Scanner(System.in);

        int N = scan.nextInt();

        int[] hArray = new int[N];
        for(int i = 0; i < N; i++){

            hArray[i] = scan.nextInt();
        }

        int ans = 1;
        int count =0;
        for(int i = 0; i < N; i++) {

            count = 0;

            for (int j = 0; j < i; j++){

                if(hArray[i] >= hArray[j]){
                    count++;
                    if(count == i) ans++;
                }
            }

        }

        System.out.println(ans);
    }
} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {

        Scanner scan = new Scanner(System.in);

        int N = scan.nextInt();

        int[] hArray = new int[N];
        for(int i = 0; i < N; i++){

            hArray[i] = scan.nextInt();
        }

        int ans = 1;
        int count =0;
        for(int i = 0; i < N; i++) {

            count = 0;

            for (int j = 0; j < i; j++){

                if(hArray[i] >= hArray[j]){
                    count++;
                    if(count == i) ans++;
                }
            }

        }

        System.out.println(ans);
    }
} Main public static void main(String[] args) {

        Scanner scan = new Scanner(System.in);

        int N = scan.nextInt();

        int[] hArray = new int[N];
        for(int i = 0; i < N; i++){

            hArray[i] = scan.nextInt();
        }

        int ans = 1;
        int count =0;
        for(int i = 0; i < N; i++) {

            count = 0;

            for (int j = 0; j < i; j++){

                if(hArray[i] >= hArray[j]){
                    count++;
                    if(count == i) ans++;
                }
            }

        }

        System.out.println(ans);
    } main {

        Scanner scan = new Scanner(System.in);

        int N = scan.nextInt();

        int[] hArray = new int[N];
        for(int i = 0; i < N; i++){

            hArray[i] = scan.nextInt();
        }

        int ans = 1;
        int count =0;
        for(int i = 0; i < N; i++) {

            count = 0;

            for (int j = 0; j < i; j++){

                if(hArray[i] >= hArray[j]){
                    count++;
                    if(count == i) ans++;
                }
            }

        }

        System.out.println(ans);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int N = scan.nextInt(); N scan.nextInt() scan.nextInt scan int[] hArray = new int[N]; hArray new int[N] N for(int i = 0; i < N; i++){

            hArray[i] = scan.nextInt();
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {

            hArray[i] = scan.nextInt();
        } {

            hArray[i] = scan.nextInt();
        } hArray[i] = scan.nextInt() hArray[i] hArray i scan.nextInt() scan.nextInt scan int ans = 1; ans 1 int count =0; count 0 for(int i = 0; i < N; i++) {

            count = 0;

            for (int j = 0; j < i; j++){

                if(hArray[i] >= hArray[j]){
                    count++;
                    if(count == i) ans++;
                }
            }

        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {

            count = 0;

            for (int j = 0; j < i; j++){

                if(hArray[i] >= hArray[j]){
                    count++;
                    if(count == i) ans++;
                }
            }

        } {

            count = 0;

            for (int j = 0; j < i; j++){

                if(hArray[i] >= hArray[j]){
                    count++;
                    if(count == i) ans++;
                }
            }

        } count = 0 count 0 for (int j = 0; j < i; j++){

                if(hArray[i] >= hArray[j]){
                    count++;
                    if(count == i) ans++;
                }
            } int j = 0; int j = 0; j 0 j < i j i j++ j++ j {

                if(hArray[i] >= hArray[j]){
                    count++;
                    if(count == i) ans++;
                }
            } {

                if(hArray[i] >= hArray[j]){
                    count++;
                    if(count == i) ans++;
                }
            } if(hArray[i] >= hArray[j]){
                    count++;
                    if(count == i) ans++;
                } hArray[i] >= hArray[j] hArray[i] hArray i hArray[j] hArray j {
                    count++;
                    if(count == i) ans++;
                } count++ count if(count == i) ans++; count == i count i ans++ ans System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

    public static void main(String[] args) {

        Scanner scan = new Scanner(System.in);

        int N = scan.nextInt();

        int[] hArray = new int[N];
        for(int i = 0; i < N; i++){

            hArray[i] = scan.nextInt();
        }

        int ans = 1;
        int count =0;
        for(int i = 0; i < N; i++) {

            count = 0;

            for (int j = 0; j < i; j++){

                if(hArray[i] >= hArray[j]){
                    count++;
                    if(count == i) ans++;
                }
            }

        }

        System.out.println(ans);
    }
} public class Main {

    public static void main(String[] args) {

        Scanner scan = new Scanner(System.in);

        int N = scan.nextInt();

        int[] hArray = new int[N];
        for(int i = 0; i < N; i++){

            hArray[i] = scan.nextInt();
        }

        int ans = 1;
        int count =0;
        for(int i = 0; i < N; i++) {

            count = 0;

            for (int j = 0; j < i; j++){

                if(hArray[i] >= hArray[j]){
                    count++;
                    if(count == i) ans++;
                }
            }

        }

        System.out.println(ans);
    }
} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {

        Scanner scan = new Scanner(System.in);

        int N = scan.nextInt();

        int[] hArray = new int[N];
        for(int i = 0; i < N; i++){

            hArray[i] = scan.nextInt();
        }

        int ans = 1;
        int count =0;
        for(int i = 0; i < N; i++) {

            count = 0;

            for (int j = 0; j < i; j++){

                if(hArray[i] >= hArray[j]){
                    count++;
                    if(count == i) ans++;
                }
            }

        }

        System.out.println(ans);
    }
}