import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int N = scan.nextInt();
		int h[] = new int[100];

		for (int i = 0; i < N; i++) {
			h[i] = scan.nextInt();
		}

		int ans = 0;
		for (int i = 0; i < N; i++) {
			boolean is_candi = true;
			for (int j = 0; j < i; j++) {
				if (h[j] > h[i]) {
					is_candi = false;
					break;
				}
			}

			if(is_candi) {
				ans++;
			}


		}
		System.out.println(ans);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int N = scan.nextInt();
		int h[] = new int[100];

		for (int i = 0; i < N; i++) {
			h[i] = scan.nextInt();
		}

		int ans = 0;
		for (int i = 0; i < N; i++) {
			boolean is_candi = true;
			for (int j = 0; j < i; j++) {
				if (h[j] > h[i]) {
					is_candi = false;
					break;
				}
			}

			if(is_candi) {
				ans++;
			}


		}
		System.out.println(ans);
	}
} Main public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int N = scan.nextInt();
		int h[] = new int[100];

		for (int i = 0; i < N; i++) {
			h[i] = scan.nextInt();
		}

		int ans = 0;
		for (int i = 0; i < N; i++) {
			boolean is_candi = true;
			for (int j = 0; j < i; j++) {
				if (h[j] > h[i]) {
					is_candi = false;
					break;
				}
			}

			if(is_candi) {
				ans++;
			}


		}
		System.out.println(ans);
	} main {

		Scanner scan = new Scanner(System.in);
		int N = scan.nextInt();
		int h[] = new int[100];

		for (int i = 0; i < N; i++) {
			h[i] = scan.nextInt();
		}

		int ans = 0;
		for (int i = 0; i < N; i++) {
			boolean is_candi = true;
			for (int j = 0; j < i; j++) {
				if (h[j] > h[i]) {
					is_candi = false;
					break;
				}
			}

			if(is_candi) {
				ans++;
			}


		}
		System.out.println(ans);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int N = scan.nextInt(); N scan.nextInt() scan.nextInt scan int h[] = new int[100]; h new int[100] 100 for (int i = 0; i < N; i++) {
			h[i] = scan.nextInt();
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			h[i] = scan.nextInt();
		} {
			h[i] = scan.nextInt();
		} h[i] = scan.nextInt() h[i] h i scan.nextInt() scan.nextInt scan int ans = 0; ans 0 for (int i = 0; i < N; i++) {
			boolean is_candi = true;
			for (int j = 0; j < i; j++) {
				if (h[j] > h[i]) {
					is_candi = false;
					break;
				}
			}

			if(is_candi) {
				ans++;
			}


		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			boolean is_candi = true;
			for (int j = 0; j < i; j++) {
				if (h[j] > h[i]) {
					is_candi = false;
					break;
				}
			}

			if(is_candi) {
				ans++;
			}


		} {
			boolean is_candi = true;
			for (int j = 0; j < i; j++) {
				if (h[j] > h[i]) {
					is_candi = false;
					break;
				}
			}

			if(is_candi) {
				ans++;
			}


		} boolean is_candi = true; is_candi true for (int j = 0; j < i; j++) {
				if (h[j] > h[i]) {
					is_candi = false;
					break;
				}
			} int j = 0; int j = 0; j 0 j < i j i j++ j++ j {
				if (h[j] > h[i]) {
					is_candi = false;
					break;
				}
			} {
				if (h[j] > h[i]) {
					is_candi = false;
					break;
				}
			} if (h[j] > h[i]) {
					is_candi = false;
					break;
				} h[j] > h[i] h[j] h j h[i] h i {
					is_candi = false;
					break;
				} is_candi = false is_candi false break; if(is_candi) {
				ans++;
			} is_candi {
				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 scan = new Scanner(System.in);
		int N = scan.nextInt();
		int h[] = new int[100];

		for (int i = 0; i < N; i++) {
			h[i] = scan.nextInt();
		}

		int ans = 0;
		for (int i = 0; i < N; i++) {
			boolean is_candi = true;
			for (int j = 0; j < i; j++) {
				if (h[j] > h[i]) {
					is_candi = false;
					break;
				}
			}

			if(is_candi) {
				ans++;
			}


		}
		System.out.println(ans);
	}
} public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int N = scan.nextInt();
		int h[] = new int[100];

		for (int i = 0; i < N; i++) {
			h[i] = scan.nextInt();
		}

		int ans = 0;
		for (int i = 0; i < N; i++) {
			boolean is_candi = true;
			for (int j = 0; j < i; j++) {
				if (h[j] > h[i]) {
					is_candi = false;
					break;
				}
			}

			if(is_candi) {
				ans++;
			}


		}
		System.out.println(ans);
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int N = scan.nextInt();
		int h[] = new int[100];

		for (int i = 0; i < N; i++) {
			h[i] = scan.nextInt();
		}

		int ans = 0;
		for (int i = 0; i < N; i++) {
			boolean is_candi = true;
			for (int j = 0; j < i; j++) {
				if (h[j] > h[i]) {
					is_candi = false;
					break;
				}
			}

			if(is_candi) {
				ans++;
			}


		}
		System.out.println(ans);
	}
}