import java.util.Scanner;
public class Main {

	static int[] mountain;
	static int total=0;

	public static void main(String[] args){
      	Scanner sc = new Scanner(System.in);
      	mountain=new int[sc.nextInt()];
      	for(int i=0;i<mountain.length;i++) {
      		mountain[i]=sc.nextInt();
      	}

      	for(int i=0;i<mountain.length;i++) {
      		cansee(i);
      	}

		System.out.println(total);
	}

	public static void cansee(int num) {
		int tall=mountain[num];
		for(num--;num>=0;num--) {
			if(mountain[num]>tall)
				return;
		}
		total++;
	}
} import java.util.Scanner; Scanner java.util public class Main {

	static int[] mountain;
	static int total=0;

	public static void main(String[] args){
      	Scanner sc = new Scanner(System.in);
      	mountain=new int[sc.nextInt()];
      	for(int i=0;i<mountain.length;i++) {
      		mountain[i]=sc.nextInt();
      	}

      	for(int i=0;i<mountain.length;i++) {
      		cansee(i);
      	}

		System.out.println(total);
	}

	public static void cansee(int num) {
		int tall=mountain[num];
		for(num--;num>=0;num--) {
			if(mountain[num]>tall)
				return;
		}
		total++;
	}
} Main static int[] mountain; mountain static int total=0; total 0 public static void main(String[] args){
      	Scanner sc = new Scanner(System.in);
      	mountain=new int[sc.nextInt()];
      	for(int i=0;i<mountain.length;i++) {
      		mountain[i]=sc.nextInt();
      	}

      	for(int i=0;i<mountain.length;i++) {
      		cansee(i);
      	}

		System.out.println(total);
	} main {
      	Scanner sc = new Scanner(System.in);
      	mountain=new int[sc.nextInt()];
      	for(int i=0;i<mountain.length;i++) {
      		mountain[i]=sc.nextInt();
      	}

      	for(int i=0;i<mountain.length;i++) {
      		cansee(i);
      	}

		System.out.println(total);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) mountain=new int[sc.nextInt()] mountain new int[sc.nextInt()] sc.nextInt() sc.nextInt sc for(int i=0;i<mountain.length;i++) {
      		mountain[i]=sc.nextInt();
      	} int i=0; int i=0; i 0 i<mountain.length i mountain.length mountain mountain.length i++ i++ i {
      		mountain[i]=sc.nextInt();
      	} {
      		mountain[i]=sc.nextInt();
      	} mountain[i]=sc.nextInt() mountain[i] mountain i sc.nextInt() sc.nextInt sc for(int i=0;i<mountain.length;i++) {
      		cansee(i);
      	} int i=0; int i=0; i 0 i<mountain.length i mountain.length mountain mountain.length i++ i++ i {
      		cansee(i);
      	} {
      		cansee(i);
      	} cansee(i) cansee i System.out.println(total) System.out.println System.out System System.out total String[] args args public static void cansee(int num) {
		int tall=mountain[num];
		for(num--;num>=0;num--) {
			if(mountain[num]>tall)
				return;
		}
		total++;
	} cansee {
		int tall=mountain[num];
		for(num--;num>=0;num--) {
			if(mountain[num]>tall)
				return;
		}
		total++;
	} int tall=mountain[num]; tall mountain[num] mountain num for(num--;num>=0;num--) {
			if(mountain[num]>tall)
				return;
		} num--; num-- num num>=0 num 0 num-- num-- num {
			if(mountain[num]>tall)
				return;
		} {
			if(mountain[num]>tall)
				return;
		} if(mountain[num]>tall)
				return; mountain[num]>tall mountain[num] mountain num tall return; total++ total int num num public class Main {

	static int[] mountain;
	static int total=0;

	public static void main(String[] args){
      	Scanner sc = new Scanner(System.in);
      	mountain=new int[sc.nextInt()];
      	for(int i=0;i<mountain.length;i++) {
      		mountain[i]=sc.nextInt();
      	}

      	for(int i=0;i<mountain.length;i++) {
      		cansee(i);
      	}

		System.out.println(total);
	}

	public static void cansee(int num) {
		int tall=mountain[num];
		for(num--;num>=0;num--) {
			if(mountain[num]>tall)
				return;
		}
		total++;
	}
} public class Main {

	static int[] mountain;
	static int total=0;

	public static void main(String[] args){
      	Scanner sc = new Scanner(System.in);
      	mountain=new int[sc.nextInt()];
      	for(int i=0;i<mountain.length;i++) {
      		mountain[i]=sc.nextInt();
      	}

      	for(int i=0;i<mountain.length;i++) {
      		cansee(i);
      	}

		System.out.println(total);
	}

	public static void cansee(int num) {
		int tall=mountain[num];
		for(num--;num>=0;num--) {
			if(mountain[num]>tall)
				return;
		}
		total++;
	}
} Main
import java.util.Scanner;
public class Main {

	static int[] mountain;
	static int total=0;

	public static void main(String[] args){
      	Scanner sc = new Scanner(System.in);
      	mountain=new int[sc.nextInt()];
      	for(int i=0;i<mountain.length;i++) {
      		mountain[i]=sc.nextInt();
      	}

      	for(int i=0;i<mountain.length;i++) {
      		cansee(i);
      	}

		System.out.println(total);
	}

	public static void cansee(int num) {
		int tall=mountain[num];
		for(num--;num>=0;num--) {
			if(mountain[num]>tall)
				return;
		}
		total++;
	}
}