import java.util.Scanner;
import java.util.InputMismatchException;

class Main {
   public static void main(String args[]) {
      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();
      int[] hset = new int[n];
      int i,j;
      int sum = 1;
      int count = 0;
      for (i = 0; i < n; i++) {
         hset[i] = sc.nextInt();
      }
      for (i=1; i < n; i++) {
         for (j=0; j<i; j++) {
            if (hset[j] <= hset[i]) {
               count = count + 1;
            }
         }
         if (count == i) {
            sum = sum + 1;
         }
         count = 0;
      }
      System.out.println(sum);
   }
} import java.util.Scanner; Scanner java.util import java.util.InputMismatchException; InputMismatchException java.util class Main {
   public static void main(String args[]) {
      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();
      int[] hset = new int[n];
      int i,j;
      int sum = 1;
      int count = 0;
      for (i = 0; i < n; i++) {
         hset[i] = sc.nextInt();
      }
      for (i=1; i < n; i++) {
         for (j=0; j<i; j++) {
            if (hset[j] <= hset[i]) {
               count = count + 1;
            }
         }
         if (count == i) {
            sum = sum + 1;
         }
         count = 0;
      }
      System.out.println(sum);
   }
} Main public static void main(String args[]) {
      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();
      int[] hset = new int[n];
      int i,j;
      int sum = 1;
      int count = 0;
      for (i = 0; i < n; i++) {
         hset[i] = sc.nextInt();
      }
      for (i=1; i < n; i++) {
         for (j=0; j<i; j++) {
            if (hset[j] <= hset[i]) {
               count = count + 1;
            }
         }
         if (count == i) {
            sum = sum + 1;
         }
         count = 0;
      }
      System.out.println(sum);
   } main {
      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();
      int[] hset = new int[n];
      int i,j;
      int sum = 1;
      int count = 0;
      for (i = 0; i < n; i++) {
         hset[i] = sc.nextInt();
      }
      for (i=1; i < n; i++) {
         for (j=0; j<i; j++) {
            if (hset[j] <= hset[i]) {
               count = count + 1;
            }
         }
         if (count == i) {
            sum = sum + 1;
         }
         count = 0;
      }
      System.out.println(sum);
   } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int[] hset = new int[n]; hset new int[n] n int i i j; j int sum = 1; sum 1 int count = 0; count 0 for (i = 0; i < n; i++) {
         hset[i] = sc.nextInt();
      } i = 0; i = 0 i 0 i < n i n i++ i++ i {
         hset[i] = sc.nextInt();
      } {
         hset[i] = sc.nextInt();
      } hset[i] = sc.nextInt() hset[i] hset i sc.nextInt() sc.nextInt sc for (i=1; i < n; i++) {
         for (j=0; j<i; j++) {
            if (hset[j] <= hset[i]) {
               count = count + 1;
            }
         }
         if (count == i) {
            sum = sum + 1;
         }
         count = 0;
      } i=1; i=1 i 1 i < n i n i++ i++ i {
         for (j=0; j<i; j++) {
            if (hset[j] <= hset[i]) {
               count = count + 1;
            }
         }
         if (count == i) {
            sum = sum + 1;
         }
         count = 0;
      } {
         for (j=0; j<i; j++) {
            if (hset[j] <= hset[i]) {
               count = count + 1;
            }
         }
         if (count == i) {
            sum = sum + 1;
         }
         count = 0;
      } for (j=0; j<i; j++) {
            if (hset[j] <= hset[i]) {
               count = count + 1;
            }
         } j=0; j=0 j 0 j<i j i j++ j++ j {
            if (hset[j] <= hset[i]) {
               count = count + 1;
            }
         } {
            if (hset[j] <= hset[i]) {
               count = count + 1;
            }
         } if (hset[j] <= hset[i]) {
               count = count + 1;
            } hset[j] <= hset[i] hset[j] hset j hset[i] hset i {
               count = count + 1;
            } count = count + 1 count count + 1 count 1 if (count == i) {
            sum = sum + 1;
         } count == i count i {
            sum = sum + 1;
         } sum = sum + 1 sum sum + 1 sum 1 count = 0 count 0 System.out.println(sum) System.out.println System.out System System.out sum String args[] args
import java.util.Scanner;
import java.util.InputMismatchException;

class Main {
   public static void main(String args[]) {
      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();
      int[] hset = new int[n];
      int i,j;
      int sum = 1;
      int count = 0;
      for (i = 0; i < n; i++) {
         hset[i] = sc.nextInt();
      }
      for (i=1; i < n; i++) {
         for (j=0; j<i; j++) {
            if (hset[j] <= hset[i]) {
               count = count + 1;
            }
         }
         if (count == i) {
            sum = sum + 1;
         }
         count = 0;
      }
      System.out.println(sum);
   }
}