import java.util.Scanner ;
class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in) ;
    int N  =scan.nextInt();
    int arr[] = new int[N];
    for(int i = 0 ;i<N ;i++){
      arr[i] = scan.nextInt();
    }
    int count2 = 1 ;
    for(int i =N-1 ; i>=1 ; i--){
      int count = 0 ;
      for(int j = i-1 ; j>=0;j--){
        if(arr[i]>=arr[j]){
          count++;
        }
      }
      if(count == i){
        count2++;
      }
    }
    System.out.println(count2);
  }
} import java.util.Scanner ; Scanner java.util class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in) ;
    int N  =scan.nextInt();
    int arr[] = new int[N];
    for(int i = 0 ;i<N ;i++){
      arr[i] = scan.nextInt();
    }
    int count2 = 1 ;
    for(int i =N-1 ; i>=1 ; i--){
      int count = 0 ;
      for(int j = i-1 ; j>=0;j--){
        if(arr[i]>=arr[j]){
          count++;
        }
      }
      if(count == i){
        count2++;
      }
    }
    System.out.println(count2);
  }
} Main public static void main(String[] args) {
    Scanner scan = new Scanner(System.in) ;
    int N  =scan.nextInt();
    int arr[] = new int[N];
    for(int i = 0 ;i<N ;i++){
      arr[i] = scan.nextInt();
    }
    int count2 = 1 ;
    for(int i =N-1 ; i>=1 ; i--){
      int count = 0 ;
      for(int j = i-1 ; j>=0;j--){
        if(arr[i]>=arr[j]){
          count++;
        }
      }
      if(count == i){
        count2++;
      }
    }
    System.out.println(count2);
  } main {
    Scanner scan = new Scanner(System.in) ;
    int N  =scan.nextInt();
    int arr[] = new int[N];
    for(int i = 0 ;i<N ;i++){
      arr[i] = scan.nextInt();
    }
    int count2 = 1 ;
    for(int i =N-1 ; i>=1 ; i--){
      int count = 0 ;
      for(int j = i-1 ; j>=0;j--){
        if(arr[i]>=arr[j]){
          count++;
        }
      }
      if(count == i){
        count2++;
      }
    }
    System.out.println(count2);
  } Scanner scan = new Scanner(System.in) ; scan new Scanner(System.in) int N  =scan.nextInt(); N scan.nextInt() scan.nextInt scan int arr[] = new int[N]; arr new int[N] N for(int i = 0 ;i<N ;i++){
      arr[i] = scan.nextInt();
    } int i = 0 ; int i = 0 ; i 0 i<N i N i++ i++ i {
      arr[i] = scan.nextInt();
    } {
      arr[i] = scan.nextInt();
    } arr[i] = scan.nextInt() arr[i] arr i scan.nextInt() scan.nextInt scan int count2 = 1 ; count2 1 for(int i =N-1 ; i>=1 ; i--){
      int count = 0 ;
      for(int j = i-1 ; j>=0;j--){
        if(arr[i]>=arr[j]){
          count++;
        }
      }
      if(count == i){
        count2++;
      }
    } int i =N-1 ; int i =N-1 ; i N-1 N 1 i>=1 i 1 i-- i-- i {
      int count = 0 ;
      for(int j = i-1 ; j>=0;j--){
        if(arr[i]>=arr[j]){
          count++;
        }
      }
      if(count == i){
        count2++;
      }
    } {
      int count = 0 ;
      for(int j = i-1 ; j>=0;j--){
        if(arr[i]>=arr[j]){
          count++;
        }
      }
      if(count == i){
        count2++;
      }
    } int count = 0 ; count 0 for(int j = i-1 ; j>=0;j--){
        if(arr[i]>=arr[j]){
          count++;
        }
      } int j = i-1 ; int j = i-1 ; j i-1 i 1 j>=0 j 0 j-- j-- j {
        if(arr[i]>=arr[j]){
          count++;
        }
      } {
        if(arr[i]>=arr[j]){
          count++;
        }
      } if(arr[i]>=arr[j]){
          count++;
        } arr[i]>=arr[j] arr[i] arr i arr[j] arr j {
          count++;
        } count++ count if(count == i){
        count2++;
      } count == i count i {
        count2++;
      } count2++ count2 System.out.println(count2) System.out.println System.out System System.out count2 String[] args args
import java.util.Scanner ;
class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in) ;
    int N  =scan.nextInt();
    int arr[] = new int[N];
    for(int i = 0 ;i<N ;i++){
      arr[i] = scan.nextInt();
    }
    int count2 = 1 ;
    for(int i =N-1 ; i>=1 ; i--){
      int count = 0 ;
      for(int j = i-1 ; j>=0;j--){
        if(arr[i]>=arr[j]){
          count++;
        }
      }
      if(count == i){
        count2++;
      }
    }
    System.out.println(count2);
  }
}
