import java.util.Scanner;

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();
		}
		int ans = 0;
		for(int i = 0;i < n;i++){
			boolean vail = true;
			for(int j = 0;j < i;j++){
				if(h[j] > h[i]){
					vail = false;
					break;
				}
			}
			if(vail){
				ans++;
			}
		}
		
		System.out.print(ans);
	}
	


}


class Pair implements Comparable{
	int from;
	int end;
	@Override
	public int compareTo(Object other) {
		Pair otherpair = (Pair)other;

		return from - otherpair.from;
	}
}

 import java.util.Scanner; Scanner 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();
		}
		int ans = 0;
		for(int i = 0;i < n;i++){
			boolean vail = true;
			for(int j = 0;j < i;j++){
				if(h[j] > h[i]){
					vail = false;
					break;
				}
			}
			if(vail){
				ans++;
			}
		}
		
		System.out.print(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();
		}
		int ans = 0;
		for(int i = 0;i < n;i++){
			boolean vail = true;
			for(int j = 0;j < i;j++){
				if(h[j] > h[i]){
					vail = false;
					break;
				}
			}
			if(vail){
				ans++;
			}
		}
		
		System.out.print(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();
		}
		int ans = 0;
		for(int i = 0;i < n;i++){
			boolean vail = true;
			for(int j = 0;j < i;j++){
				if(h[j] > h[i]){
					vail = false;
					break;
				}
			}
			if(vail){
				ans++;
			}
		}
		
		System.out.print(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 int ans = 0; ans 0 for(int i = 0;i < n;i++){
			boolean vail = true;
			for(int j = 0;j < i;j++){
				if(h[j] > h[i]){
					vail = false;
					break;
				}
			}
			if(vail){
				ans++;
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			boolean vail = true;
			for(int j = 0;j < i;j++){
				if(h[j] > h[i]){
					vail = false;
					break;
				}
			}
			if(vail){
				ans++;
			}
		} {
			boolean vail = true;
			for(int j = 0;j < i;j++){
				if(h[j] > h[i]){
					vail = false;
					break;
				}
			}
			if(vail){
				ans++;
			}
		} boolean vail = true; vail true for(int j = 0;j < i;j++){
				if(h[j] > h[i]){
					vail = false;
					break;
				}
			} int j = 0; int j = 0; j 0 j < i j i j++ j++ j {
				if(h[j] > h[i]){
					vail = false;
					break;
				}
			} {
				if(h[j] > h[i]){
					vail = false;
					break;
				}
			} if(h[j] > h[i]){
					vail = false;
					break;
				} h[j] > h[i] h[j] h j h[i] h i {
					vail = false;
					break;
				} vail = false vail false break; if(vail){
				ans++;
			} vail {
				ans++;
			} ans++ ans System.out.print(ans) System.out.print System.out System System.out ans String[] args args class Pair implements Comparable{
	int from;
	int end;
	@Override
	public int compareTo(Object other) {
		Pair otherpair = (Pair)other;

		return from - otherpair.from;
	}
} Pair int from; from int end; end @Override
	public int compareTo(Object other) {
		Pair otherpair = (Pair)other;

		return from - otherpair.from;
	} compareTo {
		Pair otherpair = (Pair)other;

		return from - otherpair.from;
	} Pair otherpair = (Pair)other; otherpair (Pair)other return from - otherpair.from; from - otherpair.from from otherpair.from otherpair otherpair.from Object other other Comparable
import java.util.Scanner;

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();
		}
		int ans = 0;
		for(int i = 0;i < n;i++){
			boolean vail = true;
			for(int j = 0;j < i;j++){
				if(h[j] > h[i]){
					vail = false;
					break;
				}
			}
			if(vail){
				ans++;
			}
		}
		
		System.out.print(ans);
	}
	


}


class Pair implements Comparable{
	int from;
	int end;
	@Override
	public int compareTo(Object other) {
		Pair otherpair = (Pair)other;

		return from - otherpair.from;
	}
}


