import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		//List<String> list= new ArrayList<String>(Arrays.asList(s.split("")));
		//List<Integer> list=new ArrayList<Integer>();
		//Integer[] Republican = new Integer[m];
		int n = sc.nextInt();
		List<Integer> list=new ArrayList<Integer>();
		for(int i=0;n>i;i++) {
			int a = sc.nextInt();
			list.add(a);
		}
		int count=1;
		int max=list.get(0);
		for(int i=0;n-1>i;i++) {
			if(list.get(i+1)>max)
				max=list.get(i+1);
			if(list.get(i)<=list.get(i+1)) {
				if(list.get(i+1)>=max)
					count++;
			}
			//System.out.println(max);
		}

		System.out.println(count);
	}
}
 import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		//List<String> list= new ArrayList<String>(Arrays.asList(s.split("")));
		//List<Integer> list=new ArrayList<Integer>();
		//Integer[] Republican = new Integer[m];
		int n = sc.nextInt();
		List<Integer> list=new ArrayList<Integer>();
		for(int i=0;n>i;i++) {
			int a = sc.nextInt();
			list.add(a);
		}
		int count=1;
		int max=list.get(0);
		for(int i=0;n-1>i;i++) {
			if(list.get(i+1)>max)
				max=list.get(i+1);
			if(list.get(i)<=list.get(i+1)) {
				if(list.get(i+1)>=max)
					count++;
			}
			//System.out.println(max);
		}

		System.out.println(count);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		//List<String> list= new ArrayList<String>(Arrays.asList(s.split("")));
		//List<Integer> list=new ArrayList<Integer>();
		//Integer[] Republican = new Integer[m];
		int n = sc.nextInt();
		List<Integer> list=new ArrayList<Integer>();
		for(int i=0;n>i;i++) {
			int a = sc.nextInt();
			list.add(a);
		}
		int count=1;
		int max=list.get(0);
		for(int i=0;n-1>i;i++) {
			if(list.get(i+1)>max)
				max=list.get(i+1);
			if(list.get(i)<=list.get(i+1)) {
				if(list.get(i+1)>=max)
					count++;
			}
			//System.out.println(max);
		}

		System.out.println(count);
	} main {
		Scanner sc = new Scanner(System.in);
		//List<String> list= new ArrayList<String>(Arrays.asList(s.split("")));
		//List<Integer> list=new ArrayList<Integer>();
		//Integer[] Republican = new Integer[m];
		int n = sc.nextInt();
		List<Integer> list=new ArrayList<Integer>();
		for(int i=0;n>i;i++) {
			int a = sc.nextInt();
			list.add(a);
		}
		int count=1;
		int max=list.get(0);
		for(int i=0;n-1>i;i++) {
			if(list.get(i+1)>max)
				max=list.get(i+1);
			if(list.get(i)<=list.get(i+1)) {
				if(list.get(i+1)>=max)
					count++;
			}
			//System.out.println(max);
		}

		System.out.println(count);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc List<Integer> list=new ArrayList<Integer>(); list new ArrayList<Integer>() for(int i=0;n>i;i++) {
			int a = sc.nextInt();
			list.add(a);
		} int i=0; int i=0; i 0 n>i n i i++ i++ i {
			int a = sc.nextInt();
			list.add(a);
		} {
			int a = sc.nextInt();
			list.add(a);
		} int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc list.add(a) list.add list a int count=1; count 1 int max=list.get(0); max list.get(0) list.get list 0 for(int i=0;n-1>i;i++) {
			if(list.get(i+1)>max)
				max=list.get(i+1);
			if(list.get(i)<=list.get(i+1)) {
				if(list.get(i+1)>=max)
					count++;
			}
			//System.out.println(max);
		} int i=0; int i=0; i 0 n-1>i n-1 n 1 i i++ i++ i {
			if(list.get(i+1)>max)
				max=list.get(i+1);
			if(list.get(i)<=list.get(i+1)) {
				if(list.get(i+1)>=max)
					count++;
			}
			//System.out.println(max);
		} {
			if(list.get(i+1)>max)
				max=list.get(i+1);
			if(list.get(i)<=list.get(i+1)) {
				if(list.get(i+1)>=max)
					count++;
			}
			//System.out.println(max);
		} if(list.get(i+1)>max)
				max=list.get(i+1); list.get(i+1)>max list.get(i+1) list.get list i+1 i 1 max max=list.get(i+1) max list.get(i+1) list.get list i+1 i 1 if(list.get(i)<=list.get(i+1)) {
				if(list.get(i+1)>=max)
					count++;
			} list.get(i)<=list.get(i+1) list.get(i) list.get list i list.get(i+1) list.get list i+1 i 1 {
				if(list.get(i+1)>=max)
					count++;
			} if(list.get(i+1)>=max)
					count++; list.get(i+1)>=max list.get(i+1) list.get list i+1 i 1 max count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		//List<String> list= new ArrayList<String>(Arrays.asList(s.split("")));
		//List<Integer> list=new ArrayList<Integer>();
		//Integer[] Republican = new Integer[m];
		int n = sc.nextInt();
		List<Integer> list=new ArrayList<Integer>();
		for(int i=0;n>i;i++) {
			int a = sc.nextInt();
			list.add(a);
		}
		int count=1;
		int max=list.get(0);
		for(int i=0;n-1>i;i++) {
			if(list.get(i+1)>max)
				max=list.get(i+1);
			if(list.get(i)<=list.get(i+1)) {
				if(list.get(i+1)>=max)
					count++;
			}
			//System.out.println(max);
		}

		System.out.println(count);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		//List<String> list= new ArrayList<String>(Arrays.asList(s.split("")));
		//List<Integer> list=new ArrayList<Integer>();
		//Integer[] Republican = new Integer[m];
		int n = sc.nextInt();
		List<Integer> list=new ArrayList<Integer>();
		for(int i=0;n>i;i++) {
			int a = sc.nextInt();
			list.add(a);
		}
		int count=1;
		int max=list.get(0);
		for(int i=0;n-1>i;i++) {
			if(list.get(i+1)>max)
				max=list.get(i+1);
			if(list.get(i)<=list.get(i+1)) {
				if(list.get(i+1)>=max)
					count++;
			}
			//System.out.println(max);
		}

		System.out.println(count);
	}
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		//List<String> list= new ArrayList<String>(Arrays.asList(s.split("")));
		//List<Integer> list=new ArrayList<Integer>();
		//Integer[] Republican = new Integer[m];
		int n = sc.nextInt();
		List<Integer> list=new ArrayList<Integer>();
		for(int i=0;n>i;i++) {
			int a = sc.nextInt();
			list.add(a);
		}
		int count=1;
		int max=list.get(0);
		for(int i=0;n-1>i;i++) {
			if(list.get(i+1)>max)
				max=list.get(i+1);
			if(list.get(i)<=list.get(i+1)) {
				if(list.get(i+1)>=max)
					count++;
			}
			//System.out.println(max);
		}

		System.out.println(count);
	}
}

