import java.util.Scanner;

public class Main{
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    int N=scanner.nextInt();
    int H[] = new int[100];
    int ans=1;
    int flg=0;

    for(int i=0;i<N;i++){
      H[i]=scanner.nextInt();
    }
    for(int i=1;i<N;i++){
      flg=0;
      for(int j=0;j<=i-1;j++){
        if(H[j]>H[i]){
          flg=1;
          break;
        }
      }
      if(flg==0) ans++;
    }

    System.out.println(ans);
  }
} import java.util.Scanner; Scanner java.util public class Main{
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    int N=scanner.nextInt();
    int H[] = new int[100];
    int ans=1;
    int flg=0;

    for(int i=0;i<N;i++){
      H[i]=scanner.nextInt();
    }
    for(int i=1;i<N;i++){
      flg=0;
      for(int j=0;j<=i-1;j++){
        if(H[j]>H[i]){
          flg=1;
          break;
        }
      }
      if(flg==0) ans++;
    }

    System.out.println(ans);
  }
} Main public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    int N=scanner.nextInt();
    int H[] = new int[100];
    int ans=1;
    int flg=0;

    for(int i=0;i<N;i++){
      H[i]=scanner.nextInt();
    }
    for(int i=1;i<N;i++){
      flg=0;
      for(int j=0;j<=i-1;j++){
        if(H[j]>H[i]){
          flg=1;
          break;
        }
      }
      if(flg==0) ans++;
    }

    System.out.println(ans);
  } main {
    Scanner scanner = new Scanner(System.in);
    int N=scanner.nextInt();
    int H[] = new int[100];
    int ans=1;
    int flg=0;

    for(int i=0;i<N;i++){
      H[i]=scanner.nextInt();
    }
    for(int i=1;i<N;i++){
      flg=0;
      for(int j=0;j<=i-1;j++){
        if(H[j]>H[i]){
          flg=1;
          break;
        }
      }
      if(flg==0) ans++;
    }

    System.out.println(ans);
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int N=scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner int H[] = new int[100]; H new int[100] 100 int ans=1; ans 1 int flg=0; flg 0 for(int i=0;i<N;i++){
      H[i]=scanner.nextInt();
    } int i=0; int i=0; i 0 i<N i N i++ i++ i {
      H[i]=scanner.nextInt();
    } {
      H[i]=scanner.nextInt();
    } H[i]=scanner.nextInt() H[i] H i scanner.nextInt() scanner.nextInt scanner for(int i=1;i<N;i++){
      flg=0;
      for(int j=0;j<=i-1;j++){
        if(H[j]>H[i]){
          flg=1;
          break;
        }
      }
      if(flg==0) ans++;
    } int i=1; int i=1; i 1 i<N i N i++ i++ i {
      flg=0;
      for(int j=0;j<=i-1;j++){
        if(H[j]>H[i]){
          flg=1;
          break;
        }
      }
      if(flg==0) ans++;
    } {
      flg=0;
      for(int j=0;j<=i-1;j++){
        if(H[j]>H[i]){
          flg=1;
          break;
        }
      }
      if(flg==0) ans++;
    } flg=0 flg 0 for(int j=0;j<=i-1;j++){
        if(H[j]>H[i]){
          flg=1;
          break;
        }
      } int j=0; int j=0; j 0 j<=i-1 j i-1 i 1 j++ j++ j {
        if(H[j]>H[i]){
          flg=1;
          break;
        }
      } {
        if(H[j]>H[i]){
          flg=1;
          break;
        }
      } if(H[j]>H[i]){
          flg=1;
          break;
        } H[j]>H[i] H[j] H j H[i] H i {
          flg=1;
          break;
        } flg=1 flg 1 break; if(flg==0) ans++; flg==0 flg 0 ans++ ans 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) {
    Scanner scanner = new Scanner(System.in);
    int N=scanner.nextInt();
    int H[] = new int[100];
    int ans=1;
    int flg=0;

    for(int i=0;i<N;i++){
      H[i]=scanner.nextInt();
    }
    for(int i=1;i<N;i++){
      flg=0;
      for(int j=0;j<=i-1;j++){
        if(H[j]>H[i]){
          flg=1;
          break;
        }
      }
      if(flg==0) ans++;
    }

    System.out.println(ans);
  }
} public class Main{
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    int N=scanner.nextInt();
    int H[] = new int[100];
    int ans=1;
    int flg=0;

    for(int i=0;i<N;i++){
      H[i]=scanner.nextInt();
    }
    for(int i=1;i<N;i++){
      flg=0;
      for(int j=0;j<=i-1;j++){
        if(H[j]>H[i]){
          flg=1;
          break;
        }
      }
      if(flg==0) ans++;
    }

    System.out.println(ans);
  }
} Main
import java.util.Scanner;

public class Main{
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    int N=scanner.nextInt();
    int H[] = new int[100];
    int ans=1;
    int flg=0;

    for(int i=0;i<N;i++){
      H[i]=scanner.nextInt();
    }
    for(int i=1;i<N;i++){
      flg=0;
      for(int j=0;j<=i-1;j++){
        if(H[j]>H[i]){
          flg=1;
          break;
        }
      }
      if(flg==0) ans++;
    }

    System.out.println(ans);
  }
}
