import java.util.Scanner;

public 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 = 1;
		for(int i = 1; i < N; i++) {
			boolean canSee = true;
			for(int j = 0; j < i; j++) {
				if(H[i] < H[j]) canSee = false;
			}
			if(canSee) ans++;
		}
		System.out.println(ans);
	}
} import java.util.Scanner; Scanner java.util public 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 = 1;
		for(int i = 1; i < N; i++) {
			boolean canSee = true;
			for(int j = 0; j < i; j++) {
				if(H[i] < H[j]) canSee = false;
			}
			if(canSee) ans++;
		}
		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();
		int ans = 1;
		for(int i = 1; i < N; i++) {
			boolean canSee = true;
			for(int j = 0; j < i; j++) {
				if(H[i] < H[j]) canSee = false;
			}
			if(canSee) ans++;
		}
		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();
		int ans = 1;
		for(int i = 1; i < N; i++) {
			boolean canSee = true;
			for(int j = 0; j < i; j++) {
				if(H[i] < H[j]) canSee = false;
			}
			if(canSee) 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[] 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] H i sc.nextInt() sc.nextInt sc int ans = 1; ans 1 for(int i = 1; i < N; i++) {
			boolean canSee = true;
			for(int j = 0; j < i; j++) {
				if(H[i] < H[j]) canSee = false;
			}
			if(canSee) ans++;
		} int i = 1; int i = 1; i 1 i < N i N i++ i++ i {
			boolean canSee = true;
			for(int j = 0; j < i; j++) {
				if(H[i] < H[j]) canSee = false;
			}
			if(canSee) ans++;
		} {
			boolean canSee = true;
			for(int j = 0; j < i; j++) {
				if(H[i] < H[j]) canSee = false;
			}
			if(canSee) ans++;
		} boolean canSee = true; canSee true for(int j = 0; j < i; j++) {
				if(H[i] < H[j]) canSee = false;
			} int j = 0; int j = 0; j 0 j < i j i j++ j++ j {
				if(H[i] < H[j]) canSee = false;
			} {
				if(H[i] < H[j]) canSee = false;
			} if(H[i] < H[j]) canSee = false; H[i] < H[j] H[i] H i H[j] H j canSee = false canSee false if(canSee) ans++; canSee 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();
		int[] H = new int[N];
		for(int i = 0; i < N; i++) H[i] = sc.nextInt();
		int ans = 1;
		for(int i = 1; i < N; i++) {
			boolean canSee = true;
			for(int j = 0; j < i; j++) {
				if(H[i] < H[j]) canSee = false;
			}
			if(canSee) ans++;
		}
		System.out.println(ans);
	}
} public 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 = 1;
		for(int i = 1; i < N; i++) {
			boolean canSee = true;
			for(int j = 0; j < i; j++) {
				if(H[i] < H[j]) canSee = false;
			}
			if(canSee) ans++;
		}
		System.out.println(ans);
	}
} Main
import java.util.Scanner;

public 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 = 1;
		for(int i = 1; i < N; i++) {
			boolean canSee = true;
			for(int j = 0; j < i; j++) {
				if(H[i] < H[j]) canSee = false;
			}
			if(canSee) ans++;
		}
		System.out.println(ans);
	}
}