import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();

        int[] H = new int[N];
        for(int i = 0 ; i < N ; i++){
            H[i] = sc.nextInt();
        }
        sc.close();
        int ans = 1;
        int count = 0 ;
        for(int i = 1 ; i < N ; i++){
          //  System.out.println("ans : "+ ans);
          //  System.out.println("i : "+ i);

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

               // System.out.println(H[i]);
              //  System.out.println(H[j]);

                if(H[i] < H[j]){
                    break;
                }else{
                    count ++;
                }
            }    

            if(count == i){
                ans ++;
            }
          //  System.out.println("count : "+ count);
            count = 0;
        }
        System.out.println(ans);
    }
} import java.util.*; util.* java class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();

        int[] H = new int[N];
        for(int i = 0 ; i < N ; i++){
            H[i] = sc.nextInt();
        }
        sc.close();
        int ans = 1;
        int count = 0 ;
        for(int i = 1 ; i < N ; i++){
          //  System.out.println("ans : "+ ans);
          //  System.out.println("i : "+ i);

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

               // System.out.println(H[i]);
              //  System.out.println(H[j]);

                if(H[i] < H[j]){
                    break;
                }else{
                    count ++;
                }
            }    

            if(count == i){
                ans ++;
            }
          //  System.out.println("count : "+ count);
            count = 0;
        }
        System.out.println(ans);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();

        int[] H = new int[N];
        for(int i = 0 ; i < N ; i++){
            H[i] = sc.nextInt();
        }
        sc.close();
        int ans = 1;
        int count = 0 ;
        for(int i = 1 ; i < N ; i++){
          //  System.out.println("ans : "+ ans);
          //  System.out.println("i : "+ i);

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

               // System.out.println(H[i]);
              //  System.out.println(H[j]);

                if(H[i] < H[j]){
                    break;
                }else{
                    count ++;
                }
            }    

            if(count == i){
                ans ++;
            }
          //  System.out.println("count : "+ count);
            count = 0;
        }
        System.out.println(ans);
    } main {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();

        int[] H = new int[N];
        for(int i = 0 ; i < N ; i++){
            H[i] = sc.nextInt();
        }
        sc.close();
        int ans = 1;
        int count = 0 ;
        for(int i = 1 ; i < N ; i++){
          //  System.out.println("ans : "+ ans);
          //  System.out.println("i : "+ i);

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

               // System.out.println(H[i]);
              //  System.out.println(H[j]);

                if(H[i] < H[j]){
                    break;
                }else{
                    count ++;
                }
            }    

            if(count == i){
                ans ++;
            }
          //  System.out.println("count : "+ count);
            count = 0;
        }
        System.out.println(ans);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int[] H = new int[N]; H new int[N] N for(int i = 0 ; i < N ; i++){
            H[i] = sc.nextInt();
        } int i = 0 ; int i = 0 ; i 0 i < N i N i++ i++ i {
            H[i] = sc.nextInt();
        } {
            H[i] = sc.nextInt();
        } H[i] = sc.nextInt() H[i] H i sc.nextInt() sc.nextInt sc sc.close() sc.close sc int ans = 1; ans 1 int count = 0 ; count 0 for(int i = 1 ; i < N ; i++){
          //  System.out.println("ans : "+ ans);
          //  System.out.println("i : "+ i);

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

               // System.out.println(H[i]);
              //  System.out.println(H[j]);

                if(H[i] < H[j]){
                    break;
                }else{
                    count ++;
                }
            }    

            if(count == i){
                ans ++;
            }
          //  System.out.println("count : "+ count);
            count = 0;
        } int i = 1 ; int i = 1 ; i 1 i < N i N i++ i++ i {
          //  System.out.println("ans : "+ ans);
          //  System.out.println("i : "+ i);

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

               // System.out.println(H[i]);
              //  System.out.println(H[j]);

                if(H[i] < H[j]){
                    break;
                }else{
                    count ++;
                }
            }    

            if(count == i){
                ans ++;
            }
          //  System.out.println("count : "+ count);
            count = 0;
        } {
          //  System.out.println("ans : "+ ans);
          //  System.out.println("i : "+ i);

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

               // System.out.println(H[i]);
              //  System.out.println(H[j]);

                if(H[i] < H[j]){
                    break;
                }else{
                    count ++;
                }
            }    

            if(count == i){
                ans ++;
            }
          //  System.out.println("count : "+ count);
            count = 0;
        } for(int j = 0 ; j < i ; j++){

               // System.out.println(H[i]);
              //  System.out.println(H[j]);

                if(H[i] < H[j]){
                    break;
                }else{
                    count ++;
                }
            } int j = 0 ; int j = 0 ; j 0 j < i j i j++ j++ j {

               // System.out.println(H[i]);
              //  System.out.println(H[j]);

                if(H[i] < H[j]){
                    break;
                }else{
                    count ++;
                }
            } {

               // System.out.println(H[i]);
              //  System.out.println(H[j]);

                if(H[i] < H[j]){
                    break;
                }else{
                    count ++;
                }
            } if(H[i] < H[j]){
                    break;
                }else{
                    count ++;
                } H[i] < H[j] H[i] H i H[j] H j {
                    break;
                } break; {
                    count ++;
                } count ++ count if(count == i){
                ans ++;
            } count == i count i {
                ans ++;
            } ans ++ ans count = 0 count 0 System.out.println(ans) System.out.println System.out System System.out ans String[] args args
import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();

        int[] H = new int[N];
        for(int i = 0 ; i < N ; i++){
            H[i] = sc.nextInt();
        }
        sc.close();
        int ans = 1;
        int count = 0 ;
        for(int i = 1 ; i < N ; i++){
          //  System.out.println("ans : "+ ans);
          //  System.out.println("i : "+ i);

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

               // System.out.println(H[i]);
              //  System.out.println(H[j]);

                if(H[i] < H[j]){
                    break;
                }else{
                    count ++;
                }
            }    

            if(count == i){
                ans ++;
            }
          //  System.out.println("count : "+ count);
            count = 0;
        }
        System.out.println(ans);
    }
}