import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		int[] h = new int[n];
		for (int i = 0; i < h.length; i++) {
			h[i] = Integer.parseInt(sc.next());
		}
		int ans = 1;
		for (int i = h.length - 1; i > 0; i--) {
			for (int j = i - 1; j >= 0; j--) {
				if (h[i] < h[j]) {
					break;
				} else if (j == 0) {
					ans++;
				}
			}
		}
		System.out.println(ans);
		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		int[] h = new int[n];
		for (int i = 0; i < h.length; i++) {
			h[i] = Integer.parseInt(sc.next());
		}
		int ans = 1;
		for (int i = h.length - 1; i > 0; i--) {
			for (int j = i - 1; j >= 0; j--) {
				if (h[i] < h[j]) {
					break;
				} else if (j == 0) {
					ans++;
				}
			}
		}
		System.out.println(ans);
		sc.close();
	}
} Main public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		int[] h = new int[n];
		for (int i = 0; i < h.length; i++) {
			h[i] = Integer.parseInt(sc.next());
		}
		int ans = 1;
		for (int i = h.length - 1; i > 0; i--) {
			for (int j = i - 1; j >= 0; j--) {
				if (h[i] < h[j]) {
					break;
				} else if (j == 0) {
					ans++;
				}
			}
		}
		System.out.println(ans);
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		int[] h = new int[n];
		for (int i = 0; i < h.length; i++) {
			h[i] = Integer.parseInt(sc.next());
		}
		int ans = 1;
		for (int i = h.length - 1; i > 0; i--) {
			for (int j = i - 1; j >= 0; j--) {
				if (h[i] < h[j]) {
					break;
				} else if (j == 0) {
					ans++;
				}
			}
		}
		System.out.println(ans);
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int[] h = new int[n]; h new int[n] n for (int i = 0; i < h.length; i++) {
			h[i] = Integer.parseInt(sc.next());
		} int i = 0; int i = 0; i 0 i < h.length i h.length h h.length i++ i++ i {
			h[i] = Integer.parseInt(sc.next());
		} {
			h[i] = Integer.parseInt(sc.next());
		} h[i] = Integer.parseInt(sc.next()) h[i] h i Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int ans = 1; ans 1 for (int i = h.length - 1; i > 0; i--) {
			for (int j = i - 1; j >= 0; j--) {
				if (h[i] < h[j]) {
					break;
				} else if (j == 0) {
					ans++;
				}
			}
		} int i = h.length - 1; int i = h.length - 1; i h.length - 1 h.length h h.length 1 i > 0 i 0 i-- i-- i {
			for (int j = i - 1; j >= 0; j--) {
				if (h[i] < h[j]) {
					break;
				} else if (j == 0) {
					ans++;
				}
			}
		} {
			for (int j = i - 1; j >= 0; j--) {
				if (h[i] < h[j]) {
					break;
				} else if (j == 0) {
					ans++;
				}
			}
		} for (int j = i - 1; j >= 0; j--) {
				if (h[i] < h[j]) {
					break;
				} else if (j == 0) {
					ans++;
				}
			} int j = i - 1; int j = i - 1; j i - 1 i 1 j >= 0 j 0 j-- j-- j {
				if (h[i] < h[j]) {
					break;
				} else if (j == 0) {
					ans++;
				}
			} {
				if (h[i] < h[j]) {
					break;
				} else if (j == 0) {
					ans++;
				}
			} if (h[i] < h[j]) {
					break;
				} else if (j == 0) {
					ans++;
				} h[i] < h[j] h[i] h i h[j] h j {
					break;
				} break; if (j == 0) {
					ans++;
				} j == 0 j 0 {
					ans++;
				} ans++ ans System.out.println(ans) System.out.println System.out System System.out ans sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		int[] h = new int[n];
		for (int i = 0; i < h.length; i++) {
			h[i] = Integer.parseInt(sc.next());
		}
		int ans = 1;
		for (int i = h.length - 1; i > 0; i--) {
			for (int j = i - 1; j >= 0; j--) {
				if (h[i] < h[j]) {
					break;
				} else if (j == 0) {
					ans++;
				}
			}
		}
		System.out.println(ans);
		sc.close();
	}
} public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		int[] h = new int[n];
		for (int i = 0; i < h.length; i++) {
			h[i] = Integer.parseInt(sc.next());
		}
		int ans = 1;
		for (int i = h.length - 1; i > 0; i--) {
			for (int j = i - 1; j >= 0; j--) {
				if (h[i] < h[j]) {
					break;
				} else if (j == 0) {
					ans++;
				}
			}
		}
		System.out.println(ans);
		sc.close();
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());
		int[] h = new int[n];
		for (int i = 0; i < h.length; i++) {
			h[i] = Integer.parseInt(sc.next());
		}
		int ans = 1;
		for (int i = h.length - 1; i > 0; i--) {
			for (int j = i - 1; j >= 0; j--) {
				if (h[i] < h[j]) {
					break;
				} else if (j == 0) {
					ans++;
				}
			}
		}
		System.out.println(ans);
		sc.close();
	}
}