import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
			int X = 0;
			int C = 0;
		int A = sc.nextInt();
		for(int i = 0; i < A; i++){
			int B = sc.nextInt();
			if(i == 0){
				C = B;
			}
			if(C <= B){
				X += 1;
				C = B;
			}
		}
		System.out.println(X);
	}
}	
		 import java.util.*; util.* java class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
			int X = 0;
			int C = 0;
		int A = sc.nextInt();
		for(int i = 0; i < A; i++){
			int B = sc.nextInt();
			if(i == 0){
				C = B;
			}
			if(C <= B){
				X += 1;
				C = B;
			}
		}
		System.out.println(X);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
			int X = 0;
			int C = 0;
		int A = sc.nextInt();
		for(int i = 0; i < A; i++){
			int B = sc.nextInt();
			if(i == 0){
				C = B;
			}
			if(C <= B){
				X += 1;
				C = B;
			}
		}
		System.out.println(X);
	} main {
		Scanner sc = new Scanner(System.in);
			int X = 0;
			int C = 0;
		int A = sc.nextInt();
		for(int i = 0; i < A; i++){
			int B = sc.nextInt();
			if(i == 0){
				C = B;
			}
			if(C <= B){
				X += 1;
				C = B;
			}
		}
		System.out.println(X);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int X = 0; X 0 int C = 0; C 0 int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc for(int i = 0; i < A; i++){
			int B = sc.nextInt();
			if(i == 0){
				C = B;
			}
			if(C <= B){
				X += 1;
				C = B;
			}
		} int i = 0; int i = 0; i 0 i < A i A i++ i++ i {
			int B = sc.nextInt();
			if(i == 0){
				C = B;
			}
			if(C <= B){
				X += 1;
				C = B;
			}
		} {
			int B = sc.nextInt();
			if(i == 0){
				C = B;
			}
			if(C <= B){
				X += 1;
				C = B;
			}
		} int B = sc.nextInt(); B sc.nextInt() sc.nextInt sc if(i == 0){
				C = B;
			} i == 0 i 0 {
				C = B;
			} C = B C B if(C <= B){
				X += 1;
				C = B;
			} C <= B C B {
				X += 1;
				C = B;
			} X += 1 X 1 C = B C B System.out.println(X) System.out.println System.out System System.out X String[] args args
import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
			int X = 0;
			int C = 0;
		int A = sc.nextInt();
		for(int i = 0; i < A; i++){
			int B = sc.nextInt();
			if(i == 0){
				C = B;
			}
			if(C <= B){
				X += 1;
				C = B;
			}
		}
		System.out.println(X);
	}
}	
		