import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int answer =0;
    int N = sc.nextInt();
    int H[] = new int[N];
    for(int i=0;i<N;i++){
      H[i]=sc.nextInt();
    }
    for(int i=0;i<N;i++){
      if(isView(H,i)){
        answer=answer+1;
      }
    }
    System.out.println(answer);
  }
  public static boolean isView(int H[],int posision){
    boolean isView = true;
    for(int i=0;i<posision;i++){
      if(H[posision]<H[i]){
        isView = false;
        break;
      }
    }
    return isView;
  }
  

  
} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int answer =0;
    int N = sc.nextInt();
    int H[] = new int[N];
    for(int i=0;i<N;i++){
      H[i]=sc.nextInt();
    }
    for(int i=0;i<N;i++){
      if(isView(H,i)){
        answer=answer+1;
      }
    }
    System.out.println(answer);
  }
  public static boolean isView(int H[],int posision){
    boolean isView = true;
    for(int i=0;i<posision;i++){
      if(H[posision]<H[i]){
        isView = false;
        break;
      }
    }
    return isView;
  }
  

  
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int answer =0;
    int N = sc.nextInt();
    int H[] = new int[N];
    for(int i=0;i<N;i++){
      H[i]=sc.nextInt();
    }
    for(int i=0;i<N;i++){
      if(isView(H,i)){
        answer=answer+1;
      }
    }
    System.out.println(answer);
  } main {
    Scanner sc = new Scanner(System.in);
    int answer =0;
    int N = sc.nextInt();
    int H[] = new int[N];
    for(int i=0;i<N;i++){
      H[i]=sc.nextInt();
    }
    for(int i=0;i<N;i++){
      if(isView(H,i)){
        answer=answer+1;
      }
    }
    System.out.println(answer);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int answer =0; answer 0 int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int H[] = new int[N]; H new int[N] N for(int i=0;i<N;i++){
      H[i]=sc.nextInt();
    } int i=0; int i=0; i 0 i<N i N i++ i++ i {
      H[i]=sc.nextInt();
    } {
      H[i]=sc.nextInt();
    } H[i]=sc.nextInt() H[i] H i sc.nextInt() sc.nextInt sc for(int i=0;i<N;i++){
      if(isView(H,i)){
        answer=answer+1;
      }
    } int i=0; int i=0; i 0 i<N i N i++ i++ i {
      if(isView(H,i)){
        answer=answer+1;
      }
    } {
      if(isView(H,i)){
        answer=answer+1;
      }
    } if(isView(H,i)){
        answer=answer+1;
      } isView(H,i) isView H i {
        answer=answer+1;
      } answer=answer+1 answer answer+1 answer 1 System.out.println(answer) System.out.println System.out System System.out answer String[] args args public static boolean isView(int H[],int posision){
    boolean isView = true;
    for(int i=0;i<posision;i++){
      if(H[posision]<H[i]){
        isView = false;
        break;
      }
    }
    return isView;
  } isView {
    boolean isView = true;
    for(int i=0;i<posision;i++){
      if(H[posision]<H[i]){
        isView = false;
        break;
      }
    }
    return isView;
  } boolean isView = true; isView true for(int i=0;i<posision;i++){
      if(H[posision]<H[i]){
        isView = false;
        break;
      }
    } int i=0; int i=0; i 0 i<posision i posision i++ i++ i {
      if(H[posision]<H[i]){
        isView = false;
        break;
      }
    } {
      if(H[posision]<H[i]){
        isView = false;
        break;
      }
    } if(H[posision]<H[i]){
        isView = false;
        break;
      } H[posision]<H[i] H[posision] H posision H[i] H i {
        isView = false;
        break;
      } isView = false isView false break; return isView; isView int H[] H int posision posision public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int answer =0;
    int N = sc.nextInt();
    int H[] = new int[N];
    for(int i=0;i<N;i++){
      H[i]=sc.nextInt();
    }
    for(int i=0;i<N;i++){
      if(isView(H,i)){
        answer=answer+1;
      }
    }
    System.out.println(answer);
  }
  public static boolean isView(int H[],int posision){
    boolean isView = true;
    for(int i=0;i<posision;i++){
      if(H[posision]<H[i]){
        isView = false;
        break;
      }
    }
    return isView;
  }
  

  
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int answer =0;
    int N = sc.nextInt();
    int H[] = new int[N];
    for(int i=0;i<N;i++){
      H[i]=sc.nextInt();
    }
    for(int i=0;i<N;i++){
      if(isView(H,i)){
        answer=answer+1;
      }
    }
    System.out.println(answer);
  }
  public static boolean isView(int H[],int posision){
    boolean isView = true;
    for(int i=0;i<posision;i++){
      if(H[posision]<H[i]){
        isView = false;
        break;
      }
    }
    return isView;
  }
  

  
} Main
import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int answer =0;
    int N = sc.nextInt();
    int H[] = new int[N];
    for(int i=0;i<N;i++){
      H[i]=sc.nextInt();
    }
    for(int i=0;i<N;i++){
      if(isView(H,i)){
        answer=answer+1;
      }
    }
    System.out.println(answer);
  }
  public static boolean isView(int H[],int posision){
    boolean isView = true;
    for(int i=0;i<posision;i++){
      if(H[posision]<H[i]){
        isView = false;
        break;
      }
    }
    return isView;
  }
  

  
}