import java.util.*;

// abc124b
public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();

		int ts = sc.nextInt();

		int ans = 1;

		for (int i = 1; i < n; i++) {
			int tmp = sc.nextInt();
			if (tmp >= ts){
				ans++;
			}
			if (tmp > ts) {
				ts = tmp;
			}
		}
		System.out.println(ans);
	}
} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();

		int ts = sc.nextInt();

		int ans = 1;

		for (int i = 1; i < n; i++) {
			int tmp = sc.nextInt();
			if (tmp >= ts){
				ans++;
			}
			if (tmp > ts) {
				ts = tmp;
			}
		}
		System.out.println(ans);
	}
} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();

		int ts = sc.nextInt();

		int ans = 1;

		for (int i = 1; i < n; i++) {
			int tmp = sc.nextInt();
			if (tmp >= ts){
				ans++;
			}
			if (tmp > ts) {
				ts = tmp;
			}
		}
		System.out.println(ans);
	} main {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();

		int ts = sc.nextInt();

		int ans = 1;

		for (int i = 1; i < n; i++) {
			int tmp = sc.nextInt();
			if (tmp >= ts){
				ans++;
			}
			if (tmp > ts) {
				ts = tmp;
			}
		}
		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 ts = sc.nextInt(); ts sc.nextInt() sc.nextInt sc int ans = 1; ans 1 for (int i = 1; i < n; i++) {
			int tmp = sc.nextInt();
			if (tmp >= ts){
				ans++;
			}
			if (tmp > ts) {
				ts = tmp;
			}
		} int i = 1; int i = 1; i 1 i < n i n i++ i++ i {
			int tmp = sc.nextInt();
			if (tmp >= ts){
				ans++;
			}
			if (tmp > ts) {
				ts = tmp;
			}
		} {
			int tmp = sc.nextInt();
			if (tmp >= ts){
				ans++;
			}
			if (tmp > ts) {
				ts = tmp;
			}
		} int tmp = sc.nextInt(); tmp sc.nextInt() sc.nextInt sc if (tmp >= ts){
				ans++;
			} tmp >= ts tmp ts {
				ans++;
			} ans++ ans if (tmp > ts) {
				ts = tmp;
			} tmp > ts tmp ts {
				ts = tmp;
			} ts = tmp ts tmp 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) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();

		int ts = sc.nextInt();

		int ans = 1;

		for (int i = 1; i < n; i++) {
			int tmp = sc.nextInt();
			if (tmp >= ts){
				ans++;
			}
			if (tmp > ts) {
				ts = tmp;
			}
		}
		System.out.println(ans);
	}
} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();

		int ts = sc.nextInt();

		int ans = 1;

		for (int i = 1; i < n; i++) {
			int tmp = sc.nextInt();
			if (tmp >= ts){
				ans++;
			}
			if (tmp > ts) {
				ts = tmp;
			}
		}
		System.out.println(ans);
	}
} Main
import java.util.*;

// abc124b
public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();

		int ts = sc.nextInt();

		int ans = 1;

		for (int i = 1; i < n; i++) {
			int tmp = sc.nextInt();
			if (tmp >= ts){
				ans++;
			}
			if (tmp > ts) {
				ts = tmp;
			}
		}
		System.out.println(ans);
	}
}
