import java.util.Scanner;

class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] H;
		H = new int[N];
		int sum = 1;
		for(int n = 0; n < N; n++) {
			H[n] = sc.nextInt();
			int max = H[0];
			for(int index = 0; index < H.length; index++) {
				max = Math.max(max, H[index]);
			}
			if(n != 0) {
				if(H[n] >= H[n - 1] && H[n] >= max) {
					sum ++;
				}
			}
		}
		sc.close();
		System.out.print(sum);
	}
} 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;
		H = new int[N];
		int sum = 1;
		for(int n = 0; n < N; n++) {
			H[n] = sc.nextInt();
			int max = H[0];
			for(int index = 0; index < H.length; index++) {
				max = Math.max(max, H[index]);
			}
			if(n != 0) {
				if(H[n] >= H[n - 1] && H[n] >= max) {
					sum ++;
				}
			}
		}
		sc.close();
		System.out.print(sum);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] H;
		H = new int[N];
		int sum = 1;
		for(int n = 0; n < N; n++) {
			H[n] = sc.nextInt();
			int max = H[0];
			for(int index = 0; index < H.length; index++) {
				max = Math.max(max, H[index]);
			}
			if(n != 0) {
				if(H[n] >= H[n - 1] && H[n] >= max) {
					sum ++;
				}
			}
		}
		sc.close();
		System.out.print(sum);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] H;
		H = new int[N];
		int sum = 1;
		for(int n = 0; n < N; n++) {
			H[n] = sc.nextInt();
			int max = H[0];
			for(int index = 0; index < H.length; index++) {
				max = Math.max(max, H[index]);
			}
			if(n != 0) {
				if(H[n] >= H[n - 1] && H[n] >= max) {
					sum ++;
				}
			}
		}
		sc.close();
		System.out.print(sum);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int[] H; H H = new int[N] H new int[N] N int sum = 1; sum 1 for(int n = 0; n < N; n++) {
			H[n] = sc.nextInt();
			int max = H[0];
			for(int index = 0; index < H.length; index++) {
				max = Math.max(max, H[index]);
			}
			if(n != 0) {
				if(H[n] >= H[n - 1] && H[n] >= max) {
					sum ++;
				}
			}
		} int n = 0; int n = 0; n 0 n < N n N n++ n++ n {
			H[n] = sc.nextInt();
			int max = H[0];
			for(int index = 0; index < H.length; index++) {
				max = Math.max(max, H[index]);
			}
			if(n != 0) {
				if(H[n] >= H[n - 1] && H[n] >= max) {
					sum ++;
				}
			}
		} {
			H[n] = sc.nextInt();
			int max = H[0];
			for(int index = 0; index < H.length; index++) {
				max = Math.max(max, H[index]);
			}
			if(n != 0) {
				if(H[n] >= H[n - 1] && H[n] >= max) {
					sum ++;
				}
			}
		} H[n] = sc.nextInt() H[n] H n sc.nextInt() sc.nextInt sc int max = H[0]; max H[0] H 0 for(int index = 0; index < H.length; index++) {
				max = Math.max(max, H[index]);
			} int index = 0; int index = 0; index 0 index < H.length index H.length H H.length index++ index++ index {
				max = Math.max(max, H[index]);
			} {
				max = Math.max(max, H[index]);
			} max = Math.max(max, H[index]) max Math.max(max, H[index]) Math.max Math max H[index] H index if(n != 0) {
				if(H[n] >= H[n - 1] && H[n] >= max) {
					sum ++;
				}
			} n != 0 n 0 {
				if(H[n] >= H[n - 1] && H[n] >= max) {
					sum ++;
				}
			} if(H[n] >= H[n - 1] && H[n] >= max) {
					sum ++;
				} H[n] >= H[n - 1] && H[n] >= max H[n] >= H[n - 1] H[n] H n H[n - 1] H n - 1 n 1 H[n] >= max H[n] H n max {
					sum ++;
				} sum ++ sum sc.close() sc.close sc System.out.print(sum) System.out.print System.out System System.out sum String[] args args
import java.util.Scanner;

class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] H;
		H = new int[N];
		int sum = 1;
		for(int n = 0; n < N; n++) {
			H[n] = sc.nextInt();
			int max = H[0];
			for(int index = 0; index < H.length; index++) {
				max = Math.max(max, H[index]);
			}
			if(n != 0) {
				if(H[n] >= H[n - 1] && H[n] >= max) {
					sum ++;
				}
			}
		}
		sc.close();
		System.out.print(sum);
	}
}