import java.util.Scanner;

public class Main {

	public static void main(final 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();
		}
		sc.close();
		int ans = 0;
		for(int i = 0; i < N; i++) {
			boolean ok = true;
			for(int j = 0; j < i; ++j) {
				if(H[i] < H[j]) {
					ok = false;
					break;
				}
			}
			if(ok) ans++;
		}
		System.out.println(ans);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(final 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();
		}
		sc.close();
		int ans = 0;
		for(int i = 0; i < N; i++) {
			boolean ok = true;
			for(int j = 0; j < i; ++j) {
				if(H[i] < H[j]) {
					ok = false;
					break;
				}
			}
			if(ok) ans++;
		}
		System.out.println(ans);
	}
} Main public static void main(final 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();
		}
		sc.close();
		int ans = 0;
		for(int i = 0; i < N; i++) {
			boolean ok = true;
			for(int j = 0; j < i; ++j) {
				if(H[i] < H[j]) {
					ok = false;
					break;
				}
			}
			if(ok) 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();
		}
		sc.close();
		int ans = 0;
		for(int i = 0; i < N; i++) {
			boolean ok = true;
			for(int j = 0; j < i; ++j) {
				if(H[i] < H[j]) {
					ok = false;
					break;
				}
			}
			if(ok) 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] = sc.nextInt() H[i] H i sc.nextInt() sc.nextInt sc sc.close() sc.close sc int ans = 0; ans 0 for(int i = 0; i < N; i++) {
			boolean ok = true;
			for(int j = 0; j < i; ++j) {
				if(H[i] < H[j]) {
					ok = false;
					break;
				}
			}
			if(ok) ans++;
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			boolean ok = true;
			for(int j = 0; j < i; ++j) {
				if(H[i] < H[j]) {
					ok = false;
					break;
				}
			}
			if(ok) ans++;
		} {
			boolean ok = true;
			for(int j = 0; j < i; ++j) {
				if(H[i] < H[j]) {
					ok = false;
					break;
				}
			}
			if(ok) ans++;
		} boolean ok = true; ok true for(int j = 0; j < i; ++j) {
				if(H[i] < H[j]) {
					ok = false;
					break;
				}
			} int j = 0; int j = 0; j 0 j < i j i ++j ++j j {
				if(H[i] < H[j]) {
					ok = false;
					break;
				}
			} {
				if(H[i] < H[j]) {
					ok = false;
					break;
				}
			} if(H[i] < H[j]) {
					ok = false;
					break;
				} H[i] < H[j] H[i] H i H[j] H j {
					ok = false;
					break;
				} ok = false ok false break; if(ok) ans++; ok ans++ ans System.out.println(ans) System.out.println System.out System System.out ans final String[] args args public class Main {

	public static void main(final 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();
		}
		sc.close();
		int ans = 0;
		for(int i = 0; i < N; i++) {
			boolean ok = true;
			for(int j = 0; j < i; ++j) {
				if(H[i] < H[j]) {
					ok = false;
					break;
				}
			}
			if(ok) ans++;
		}
		System.out.println(ans);
	}
} public class Main {

	public static void main(final 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();
		}
		sc.close();
		int ans = 0;
		for(int i = 0; i < N; i++) {
			boolean ok = true;
			for(int j = 0; j < i; ++j) {
				if(H[i] < H[j]) {
					ok = false;
					break;
				}
			}
			if(ok) ans++;
		}
		System.out.println(ans);
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(final 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();
		}
		sc.close();
		int ans = 0;
		for(int i = 0; i < N; i++) {
			boolean ok = true;
			for(int j = 0; j < i; ++j) {
				if(H[i] < H[j]) {
					ok = false;
					break;
				}
			}
			if(ok) ans++;
		}
		System.out.println(ans);
	}
}