import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		
		int n = sc.nextInt();
		
		int[] view = new int[n];
		int cnt = n;
		
		for(int i = 0 ; i < n; i++) {
			view[i] = sc.nextInt();	
		}
		
		for(int k = 0; k < n; k++) {		
			for(int l = 1; l <= k; l++) {
				if(view[k] < view[k - l]) {
					cnt = cnt - 1;
					break;
				}
			}
		}

		System.out.println(cnt);
	}
} 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[] view = new int[n];
		int cnt = n;
		
		for(int i = 0 ; i < n; i++) {
			view[i] = sc.nextInt();	
		}
		
		for(int k = 0; k < n; k++) {		
			for(int l = 1; l <= k; l++) {
				if(view[k] < view[k - l]) {
					cnt = cnt - 1;
					break;
				}
			}
		}

		System.out.println(cnt);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		
		int n = sc.nextInt();
		
		int[] view = new int[n];
		int cnt = n;
		
		for(int i = 0 ; i < n; i++) {
			view[i] = sc.nextInt();	
		}
		
		for(int k = 0; k < n; k++) {		
			for(int l = 1; l <= k; l++) {
				if(view[k] < view[k - l]) {
					cnt = cnt - 1;
					break;
				}
			}
		}

		System.out.println(cnt);
	} main {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		
		int n = sc.nextInt();
		
		int[] view = new int[n];
		int cnt = n;
		
		for(int i = 0 ; i < n; i++) {
			view[i] = sc.nextInt();	
		}
		
		for(int k = 0; k < n; k++) {		
			for(int l = 1; l <= k; l++) {
				if(view[k] < view[k - l]) {
					cnt = cnt - 1;
					break;
				}
			}
		}

		System.out.println(cnt);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int[] view = new int[n]; view new int[n] n int cnt = n; cnt n for(int i = 0 ; i < n; i++) {
			view[i] = sc.nextInt();	
		} int i = 0 ; int i = 0 ; i 0 i < n i n i++ i++ i {
			view[i] = sc.nextInt();	
		} {
			view[i] = sc.nextInt();	
		} view[i] = sc.nextInt() view[i] view i sc.nextInt() sc.nextInt sc for(int k = 0; k < n; k++) {		
			for(int l = 1; l <= k; l++) {
				if(view[k] < view[k - l]) {
					cnt = cnt - 1;
					break;
				}
			}
		} int k = 0; int k = 0; k 0 k < n k n k++ k++ k {		
			for(int l = 1; l <= k; l++) {
				if(view[k] < view[k - l]) {
					cnt = cnt - 1;
					break;
				}
			}
		} {		
			for(int l = 1; l <= k; l++) {
				if(view[k] < view[k - l]) {
					cnt = cnt - 1;
					break;
				}
			}
		} for(int l = 1; l <= k; l++) {
				if(view[k] < view[k - l]) {
					cnt = cnt - 1;
					break;
				}
			} int l = 1; int l = 1; l 1 l <= k l k l++ l++ l {
				if(view[k] < view[k - l]) {
					cnt = cnt - 1;
					break;
				}
			} {
				if(view[k] < view[k - l]) {
					cnt = cnt - 1;
					break;
				}
			} if(view[k] < view[k - l]) {
					cnt = cnt - 1;
					break;
				} view[k] < view[k - l] view[k] view k view[k - l] view k - l k l {
					cnt = cnt - 1;
					break;
				} cnt = cnt - 1 cnt cnt - 1 cnt 1 break; System.out.println(cnt) System.out.println System.out System System.out cnt String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		
		int n = sc.nextInt();
		
		int[] view = new int[n];
		int cnt = n;
		
		for(int i = 0 ; i < n; i++) {
			view[i] = sc.nextInt();	
		}
		
		for(int k = 0; k < n; k++) {		
			for(int l = 1; l <= k; l++) {
				if(view[k] < view[k - l]) {
					cnt = cnt - 1;
					break;
				}
			}
		}

		System.out.println(cnt);
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		
		int n = sc.nextInt();
		
		int[] view = new int[n];
		int cnt = n;
		
		for(int i = 0 ; i < n; i++) {
			view[i] = sc.nextInt();	
		}
		
		for(int k = 0; k < n; k++) {		
			for(int l = 1; l <= k; l++) {
				if(view[k] < view[k - l]) {
					cnt = cnt - 1;
					break;
				}
			}
		}

		System.out.println(cnt);
	}
} 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[] view = new int[n];
		int cnt = n;
		
		for(int i = 0 ; i < n; i++) {
			view[i] = sc.nextInt();	
		}
		
		for(int k = 0; k < n; k++) {		
			for(int l = 1; l <= k; l++) {
				if(view[k] < view[k - l]) {
					cnt = cnt - 1;
					break;
				}
			}
		}

		System.out.println(cnt);
	}
}