import java.util.*;

class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int[] b =  new int[a];
        for(int i=0; i < a; i++) {
            b[i] = sc.nextInt();
        }
        int count =0;
        two: for(int j =0; j < a ; j++){
            for(int k =0; k < j; k++){
                if(b[k] > b[j]){
                    continue two;
                }
                
            }
                count++;
        }
        System.out.println(count);
    }
} import java.util.*; util.* java class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int[] b =  new int[a];
        for(int i=0; i < a; i++) {
            b[i] = sc.nextInt();
        }
        int count =0;
        two: for(int j =0; j < a ; j++){
            for(int k =0; k < j; k++){
                if(b[k] > b[j]){
                    continue two;
                }
                
            }
                count++;
        }
        System.out.println(count);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int[] b =  new int[a];
        for(int i=0; i < a; i++) {
            b[i] = sc.nextInt();
        }
        int count =0;
        two: for(int j =0; j < a ; j++){
            for(int k =0; k < j; k++){
                if(b[k] > b[j]){
                    continue two;
                }
                
            }
                count++;
        }
        System.out.println(count);
    } main {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int[] b =  new int[a];
        for(int i=0; i < a; i++) {
            b[i] = sc.nextInt();
        }
        int count =0;
        two: for(int j =0; j < a ; j++){
            for(int k =0; k < j; k++){
                if(b[k] > b[j]){
                    continue two;
                }
                
            }
                count++;
        }
        System.out.println(count);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int[] b =  new int[a]; b new int[a] a for(int i=0; i < a; i++) {
            b[i] = sc.nextInt();
        } int i=0; int i=0; i 0 i < a i a i++ i++ i {
            b[i] = sc.nextInt();
        } {
            b[i] = sc.nextInt();
        } b[i] = sc.nextInt() b[i] b i sc.nextInt() sc.nextInt sc int count =0; count 0 System.out.println(count) System.out.println System.out System System.out count String[] args args
import java.util.*;

class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int[] b =  new int[a];
        for(int i=0; i < a; i++) {
            b[i] = sc.nextInt();
        }
        int count =0;
        two: for(int j =0; j < a ; j++){
            for(int k =0; k < j; k++){
                if(b[k] > b[j]){
                    continue two;
                }
                
            }
                count++;
        }
        System.out.println(count);
    }
}
