import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int N = reader.nextInt();
		int ans = 1;
		int[] arr = new int[N];
		arr[0] = reader.nextInt();
		for (int i = 1; i < N; i++) {
			arr[i] = reader.nextInt();
			boolean flag = true;
			for (int j = 0; j < i;j++) {
				flag = flag && arr[j] <= arr[i];
			}
			if (flag) {
				ans++;
			}
		}


		System.out.println(ans);
		reader.close();

	}

}


 import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int N = reader.nextInt();
		int ans = 1;
		int[] arr = new int[N];
		arr[0] = reader.nextInt();
		for (int i = 1; i < N; i++) {
			arr[i] = reader.nextInt();
			boolean flag = true;
			for (int j = 0; j < i;j++) {
				flag = flag && arr[j] <= arr[i];
			}
			if (flag) {
				ans++;
			}
		}


		System.out.println(ans);
		reader.close();

	}

} Main public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int N = reader.nextInt();
		int ans = 1;
		int[] arr = new int[N];
		arr[0] = reader.nextInt();
		for (int i = 1; i < N; i++) {
			arr[i] = reader.nextInt();
			boolean flag = true;
			for (int j = 0; j < i;j++) {
				flag = flag && arr[j] <= arr[i];
			}
			if (flag) {
				ans++;
			}
		}


		System.out.println(ans);
		reader.close();

	} main {
		Scanner reader = new Scanner(System.in);
		int N = reader.nextInt();
		int ans = 1;
		int[] arr = new int[N];
		arr[0] = reader.nextInt();
		for (int i = 1; i < N; i++) {
			arr[i] = reader.nextInt();
			boolean flag = true;
			for (int j = 0; j < i;j++) {
				flag = flag && arr[j] <= arr[i];
			}
			if (flag) {
				ans++;
			}
		}


		System.out.println(ans);
		reader.close();

	} Scanner reader = new Scanner(System.in); reader new Scanner(System.in) int N = reader.nextInt(); N reader.nextInt() reader.nextInt reader int ans = 1; ans 1 int[] arr = new int[N]; arr new int[N] N arr[0] = reader.nextInt() arr[0] arr 0 reader.nextInt() reader.nextInt reader for (int i = 1; i < N; i++) {
			arr[i] = reader.nextInt();
			boolean flag = true;
			for (int j = 0; j < i;j++) {
				flag = flag && arr[j] <= arr[i];
			}
			if (flag) {
				ans++;
			}
		} int i = 1; int i = 1; i 1 i < N i N i++ i++ i {
			arr[i] = reader.nextInt();
			boolean flag = true;
			for (int j = 0; j < i;j++) {
				flag = flag && arr[j] <= arr[i];
			}
			if (flag) {
				ans++;
			}
		} {
			arr[i] = reader.nextInt();
			boolean flag = true;
			for (int j = 0; j < i;j++) {
				flag = flag && arr[j] <= arr[i];
			}
			if (flag) {
				ans++;
			}
		} arr[i] = reader.nextInt() arr[i] arr i reader.nextInt() reader.nextInt reader boolean flag = true; flag true for (int j = 0; j < i;j++) {
				flag = flag && arr[j] <= arr[i];
			} int j = 0; int j = 0; j 0 j < i j i j++ j++ j {
				flag = flag && arr[j] <= arr[i];
			} {
				flag = flag && arr[j] <= arr[i];
			} flag = flag && arr[j] <= arr[i] flag flag && arr[j] <= arr[i] flag arr[j] <= arr[i] arr[j] arr j arr[i] arr i if (flag) {
				ans++;
			} flag {
				ans++;
			} ans++ ans System.out.println(ans) System.out.println System.out System System.out ans reader.close() reader.close reader String[] args args public class Main {
	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int N = reader.nextInt();
		int ans = 1;
		int[] arr = new int[N];
		arr[0] = reader.nextInt();
		for (int i = 1; i < N; i++) {
			arr[i] = reader.nextInt();
			boolean flag = true;
			for (int j = 0; j < i;j++) {
				flag = flag && arr[j] <= arr[i];
			}
			if (flag) {
				ans++;
			}
		}


		System.out.println(ans);
		reader.close();

	}

} public class Main {
	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int N = reader.nextInt();
		int ans = 1;
		int[] arr = new int[N];
		arr[0] = reader.nextInt();
		for (int i = 1; i < N; i++) {
			arr[i] = reader.nextInt();
			boolean flag = true;
			for (int j = 0; j < i;j++) {
				flag = flag && arr[j] <= arr[i];
			}
			if (flag) {
				ans++;
			}
		}


		System.out.println(ans);
		reader.close();

	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		int N = reader.nextInt();
		int ans = 1;
		int[] arr = new int[N];
		arr[0] = reader.nextInt();
		for (int i = 1; i < N; i++) {
			arr[i] = reader.nextInt();
			boolean flag = true;
			for (int j = 0; j < i;j++) {
				flag = flag && arr[j] <= arr[i];
			}
			if (flag) {
				ans++;
			}
		}


		System.out.println(ans);
		reader.close();

	}

}



