import java.util.*;
 
public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int num[] = new int[n];
        int ans = 1;
        for(int i = 0; i < n; i++){
        	num[i] = sc.nextInt();
        }
        for(int i = 1; i < n; i++){
            int count = 0;
        	for(int j = 0; j < i; j++){
            	if(num[i] >= num[j]){
                	count++;
                }else{
                	break;
                }
            }
            if(count == i){
            	ans++;
            }
        }
        System.out.println(ans);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int num[] = new int[n];
        int ans = 1;
        for(int i = 0; i < n; i++){
        	num[i] = sc.nextInt();
        }
        for(int i = 1; i < n; i++){
            int count = 0;
        	for(int j = 0; j < i; j++){
            	if(num[i] >= num[j]){
                	count++;
                }else{
                	break;
                }
            }
            if(count == i){
            	ans++;
            }
        }
        System.out.println(ans);
	}
} Main public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int num[] = new int[n];
        int ans = 1;
        for(int i = 0; i < n; i++){
        	num[i] = sc.nextInt();
        }
        for(int i = 1; i < n; i++){
            int count = 0;
        	for(int j = 0; j < i; j++){
            	if(num[i] >= num[j]){
                	count++;
                }else{
                	break;
                }
            }
            if(count == i){
            	ans++;
            }
        }
        System.out.println(ans);
	} main {
		Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int num[] = new int[n];
        int ans = 1;
        for(int i = 0; i < n; i++){
        	num[i] = sc.nextInt();
        }
        for(int i = 1; i < n; i++){
            int count = 0;
        	for(int j = 0; j < i; j++){
            	if(num[i] >= num[j]){
                	count++;
                }else{
                	break;
                }
            }
            if(count == i){
            	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 num[] = new int[n]; num new int[n] n int ans = 1; ans 1 for(int i = 0; i < n; i++){
        	num[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
        	num[i] = sc.nextInt();
        } {
        	num[i] = sc.nextInt();
        } num[i] = sc.nextInt() num[i] num i sc.nextInt() sc.nextInt sc for(int i = 1; i < n; i++){
            int count = 0;
        	for(int j = 0; j < i; j++){
            	if(num[i] >= num[j]){
                	count++;
                }else{
                	break;
                }
            }
            if(count == i){
            	ans++;
            }
        } int i = 1; int i = 1; i 1 i < n i n i++ i++ i {
            int count = 0;
        	for(int j = 0; j < i; j++){
            	if(num[i] >= num[j]){
                	count++;
                }else{
                	break;
                }
            }
            if(count == i){
            	ans++;
            }
        } {
            int count = 0;
        	for(int j = 0; j < i; j++){
            	if(num[i] >= num[j]){
                	count++;
                }else{
                	break;
                }
            }
            if(count == i){
            	ans++;
            }
        } int count = 0; count 0 for(int j = 0; j < i; j++){
            	if(num[i] >= num[j]){
                	count++;
                }else{
                	break;
                }
            } int j = 0; int j = 0; j 0 j < i j i j++ j++ j {
            	if(num[i] >= num[j]){
                	count++;
                }else{
                	break;
                }
            } {
            	if(num[i] >= num[j]){
                	count++;
                }else{
                	break;
                }
            } if(num[i] >= num[j]){
                	count++;
                }else{
                	break;
                } num[i] >= num[j] num[i] num i num[j] num j {
                	count++;
                } count++ count {
                	break;
                } break; if(count == i){
            	ans++;
            } count == i count i {
            	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) throws Exception{
		Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int num[] = new int[n];
        int ans = 1;
        for(int i = 0; i < n; i++){
        	num[i] = sc.nextInt();
        }
        for(int i = 1; i < n; i++){
            int count = 0;
        	for(int j = 0; j < i; j++){
            	if(num[i] >= num[j]){
                	count++;
                }else{
                	break;
                }
            }
            if(count == i){
            	ans++;
            }
        }
        System.out.println(ans);
	}
} public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int num[] = new int[n];
        int ans = 1;
        for(int i = 0; i < n; i++){
        	num[i] = sc.nextInt();
        }
        for(int i = 1; i < n; i++){
            int count = 0;
        	for(int j = 0; j < i; j++){
            	if(num[i] >= num[j]){
                	count++;
                }else{
                	break;
                }
            }
            if(count == i){
            	ans++;
            }
        }
        System.out.println(ans);
	}
} Main
import java.util.*;
 
public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int num[] = new int[n];
        int ans = 1;
        for(int i = 0; i < n; i++){
        	num[i] = sc.nextInt();
        }
        for(int i = 1; i < n; i++){
            int count = 0;
        	for(int j = 0; j < i; j++){
            	if(num[i] >= num[j]){
                	count++;
                }else{
                	break;
                }
            }
            if(count == i){
            	ans++;
            }
        }
        System.out.println(ans);
	}
}