import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int count = 0;
    int[] h = new int[n];
    for(int i=0;i<n;i++){
      h[i] = sc.nextInt();
    }
    for(int j=1;j<n;j++){
      int check = 1;
      for(int k=0;k<j;k++){
        if(h[j] < h[k]){
          check = 0;
        }
      }
      if(check == 1){
        count++;
      }
    }
    System.out.println(count+1);
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int count = 0;
    int[] h = new int[n];
    for(int i=0;i<n;i++){
      h[i] = sc.nextInt();
    }
    for(int j=1;j<n;j++){
      int check = 1;
      for(int k=0;k<j;k++){
        if(h[j] < h[k]){
          check = 0;
        }
      }
      if(check == 1){
        count++;
      }
    }
    System.out.println(count+1);
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int count = 0;
    int[] h = new int[n];
    for(int i=0;i<n;i++){
      h[i] = sc.nextInt();
    }
    for(int j=1;j<n;j++){
      int check = 1;
      for(int k=0;k<j;k++){
        if(h[j] < h[k]){
          check = 0;
        }
      }
      if(check == 1){
        count++;
      }
    }
    System.out.println(count+1);
  } main {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int count = 0;
    int[] h = new int[n];
    for(int i=0;i<n;i++){
      h[i] = sc.nextInt();
    }
    for(int j=1;j<n;j++){
      int check = 1;
      for(int k=0;k<j;k++){
        if(h[j] < h[k]){
          check = 0;
        }
      }
      if(check == 1){
        count++;
      }
    }
    System.out.println(count+1);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int count = 0; count 0 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 j=1;j<n;j++){
      int check = 1;
      for(int k=0;k<j;k++){
        if(h[j] < h[k]){
          check = 0;
        }
      }
      if(check == 1){
        count++;
      }
    } int j=1; int j=1; j 1 j<n j n j++ j++ j {
      int check = 1;
      for(int k=0;k<j;k++){
        if(h[j] < h[k]){
          check = 0;
        }
      }
      if(check == 1){
        count++;
      }
    } {
      int check = 1;
      for(int k=0;k<j;k++){
        if(h[j] < h[k]){
          check = 0;
        }
      }
      if(check == 1){
        count++;
      }
    } int check = 1; check 1 for(int k=0;k<j;k++){
        if(h[j] < h[k]){
          check = 0;
        }
      } int k=0; int k=0; k 0 k<j k j k++ k++ k {
        if(h[j] < h[k]){
          check = 0;
        }
      } {
        if(h[j] < h[k]){
          check = 0;
        }
      } if(h[j] < h[k]){
          check = 0;
        } h[j] < h[k] h[j] h j h[k] h k {
          check = 0;
        } check = 0 check 0 if(check == 1){
        count++;
      } check == 1 check 1 {
        count++;
      } count++ count System.out.println(count+1) System.out.println System.out System System.out count+1 count 1 String[] args args public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int count = 0;
    int[] h = new int[n];
    for(int i=0;i<n;i++){
      h[i] = sc.nextInt();
    }
    for(int j=1;j<n;j++){
      int check = 1;
      for(int k=0;k<j;k++){
        if(h[j] < h[k]){
          check = 0;
        }
      }
      if(check == 1){
        count++;
      }
    }
    System.out.println(count+1);
  }
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    int count = 0;
    int[] h = new int[n];
    for(int i=0;i<n;i++){
      h[i] = sc.nextInt();
    }
    for(int j=1;j<n;j++){
      int check = 1;
      for(int k=0;k<j;k++){
        if(h[j] < h[k]){
          check = 0;
        }
      }
      if(check == 1){
        count++;
      }
    }
    System.out.println(count+1);
  }
} Main
import java.util.*;

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