import java.util.*;

public class Main {

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		//Scanner sa = new Scanner(System.in);
		int building[] = new int[n]; 
		for(int i = 0;i < n ; i++){
			building[i] = sc.nextInt();
		}

		int ans =1;

		for(int j =1;j<n;j++){
			int counter=0;
			for(int k=0;k<j;k++){
				if(building[k] <= building[j]){
					counter++;
				}
			}
			if(counter == j){
				ans++;
			}
		}

		System.out.println(ans);

	}
} import java.util.*; util.* java public class Main {

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		//Scanner sa = new Scanner(System.in);
		int building[] = new int[n]; 
		for(int i = 0;i < n ; i++){
			building[i] = sc.nextInt();
		}

		int ans =1;

		for(int j =1;j<n;j++){
			int counter=0;
			for(int k=0;k<j;k++){
				if(building[k] <= building[j]){
					counter++;
				}
			}
			if(counter == j){
				ans++;
			}
		}

		System.out.println(ans);

	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		//Scanner sa = new Scanner(System.in);
		int building[] = new int[n]; 
		for(int i = 0;i < n ; i++){
			building[i] = sc.nextInt();
		}

		int ans =1;

		for(int j =1;j<n;j++){
			int counter=0;
			for(int k=0;k<j;k++){
				if(building[k] <= building[j]){
					counter++;
				}
			}
			if(counter == j){
				ans++;
			}
		}

		System.out.println(ans);

	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		//Scanner sa = new Scanner(System.in);
		int building[] = new int[n]; 
		for(int i = 0;i < n ; i++){
			building[i] = sc.nextInt();
		}

		int ans =1;

		for(int j =1;j<n;j++){
			int counter=0;
			for(int k=0;k<j;k++){
				if(building[k] <= building[j]){
					counter++;
				}
			}
			if(counter == j){
				ans++;
			}
		}

		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 building[] = new int[n]; building new int[n] n for(int i = 0;i < n ; i++){
			building[i] = sc.nextInt();
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			building[i] = sc.nextInt();
		} {
			building[i] = sc.nextInt();
		} building[i] = sc.nextInt() building[i] building i sc.nextInt() sc.nextInt sc int ans =1; ans 1 for(int j =1;j<n;j++){
			int counter=0;
			for(int k=0;k<j;k++){
				if(building[k] <= building[j]){
					counter++;
				}
			}
			if(counter == j){
				ans++;
			}
		} int j =1; int j =1; j 1 j<n j n j++ j++ j {
			int counter=0;
			for(int k=0;k<j;k++){
				if(building[k] <= building[j]){
					counter++;
				}
			}
			if(counter == j){
				ans++;
			}
		} {
			int counter=0;
			for(int k=0;k<j;k++){
				if(building[k] <= building[j]){
					counter++;
				}
			}
			if(counter == j){
				ans++;
			}
		} int counter=0; counter 0 for(int k=0;k<j;k++){
				if(building[k] <= building[j]){
					counter++;
				}
			} int k=0; int k=0; k 0 k<j k j k++ k++ k {
				if(building[k] <= building[j]){
					counter++;
				}
			} {
				if(building[k] <= building[j]){
					counter++;
				}
			} if(building[k] <= building[j]){
					counter++;
				} building[k] <= building[j] building[k] building k building[j] building j {
					counter++;
				} counter++ counter if(counter == j){
				ans++;
			} counter == j counter j {
				ans++;
			} 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 sc = new Scanner(System.in);
		int n = sc.nextInt();
		//Scanner sa = new Scanner(System.in);
		int building[] = new int[n]; 
		for(int i = 0;i < n ; i++){
			building[i] = sc.nextInt();
		}

		int ans =1;

		for(int j =1;j<n;j++){
			int counter=0;
			for(int k=0;k<j;k++){
				if(building[k] <= building[j]){
					counter++;
				}
			}
			if(counter == j){
				ans++;
			}
		}

		System.out.println(ans);

	}
} public class Main {

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		//Scanner sa = new Scanner(System.in);
		int building[] = new int[n]; 
		for(int i = 0;i < n ; i++){
			building[i] = sc.nextInt();
		}

		int ans =1;

		for(int j =1;j<n;j++){
			int counter=0;
			for(int k=0;k<j;k++){
				if(building[k] <= building[j]){
					counter++;
				}
			}
			if(counter == j){
				ans++;
			}
		}

		System.out.println(ans);

	}
} Main
import java.util.*;

public class Main {

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		//Scanner sa = new Scanner(System.in);
		int building[] = new int[n]; 
		for(int i = 0;i < n ; i++){
			building[i] = sc.nextInt();
		}

		int ans =1;

		for(int j =1;j<n;j++){
			int counter=0;
			for(int k=0;k<j;k++){
				if(building[k] <= building[j]){
					counter++;
				}
			}
			if(counter == j){
				ans++;
			}
		}

		System.out.println(ans);

	}
}