import java.util.Scanner;
import java.util.Arrays;
import java.util.stream.Stream;
import java.util.stream.IntStream;
import java.lang.StringBuilder;

public class Main {
  public static void main(String[] args ){
    Scanner sc = new Scanner(System.in);

    int N = sc.nextInt();

    int[] H = new int[N];
    for (int i =0; i < N; i++) {
      H[i] = sc.nextInt();
    }

    int canLookSpotCnt = 1;
    for(int i = 1; i < N; i++) {
      boolean flag = true;
      for (int j = 0; j < i; j++) {
        if (H[j] > H[i]) flag = false;
      }
      canLookSpotCnt += flag ? 1 : 0;
    }

    System.out.println(canLookSpotCnt);
  }
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util import java.util.stream.Stream; Stream java.util.stream import java.util.stream.IntStream; IntStream java.util.stream import java.lang.StringBuilder; StringBuilder java.lang public class Main {
  public static void main(String[] args ){
    Scanner sc = new Scanner(System.in);

    int N = sc.nextInt();

    int[] H = new int[N];
    for (int i =0; i < N; i++) {
      H[i] = sc.nextInt();
    }

    int canLookSpotCnt = 1;
    for(int i = 1; i < N; i++) {
      boolean flag = true;
      for (int j = 0; j < i; j++) {
        if (H[j] > H[i]) flag = false;
      }
      canLookSpotCnt += flag ? 1 : 0;
    }

    System.out.println(canLookSpotCnt);
  }
} Main public static void main(String[] args ){
    Scanner sc = new Scanner(System.in);

    int N = sc.nextInt();

    int[] H = new int[N];
    for (int i =0; i < N; i++) {
      H[i] = sc.nextInt();
    }

    int canLookSpotCnt = 1;
    for(int i = 1; i < N; i++) {
      boolean flag = true;
      for (int j = 0; j < i; j++) {
        if (H[j] > H[i]) flag = false;
      }
      canLookSpotCnt += flag ? 1 : 0;
    }

    System.out.println(canLookSpotCnt);
  } main {
    Scanner sc = new Scanner(System.in);

    int N = sc.nextInt();

    int[] H = new int[N];
    for (int i =0; i < N; i++) {
      H[i] = sc.nextInt();
    }

    int canLookSpotCnt = 1;
    for(int i = 1; i < N; i++) {
      boolean flag = true;
      for (int j = 0; j < i; j++) {
        if (H[j] > H[i]) flag = false;
      }
      canLookSpotCnt += flag ? 1 : 0;
    }

    System.out.println(canLookSpotCnt);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) 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 int canLookSpotCnt = 1; canLookSpotCnt 1 for(int i = 1; i < N; i++) {
      boolean flag = true;
      for (int j = 0; j < i; j++) {
        if (H[j] > H[i]) flag = false;
      }
      canLookSpotCnt += flag ? 1 : 0;
    } int i = 1; int i = 1; i 1 i < N i N i++ i++ i {
      boolean flag = true;
      for (int j = 0; j < i; j++) {
        if (H[j] > H[i]) flag = false;
      }
      canLookSpotCnt += flag ? 1 : 0;
    } {
      boolean flag = true;
      for (int j = 0; j < i; j++) {
        if (H[j] > H[i]) flag = false;
      }
      canLookSpotCnt += flag ? 1 : 0;
    } boolean flag = true; flag true for (int j = 0; j < i; j++) {
        if (H[j] > H[i]) flag = false;
      } int j = 0; int j = 0; j 0 j < i j i j++ j++ j {
        if (H[j] > H[i]) flag = false;
      } {
        if (H[j] > H[i]) flag = false;
      } if (H[j] > H[i]) flag = false; H[j] > H[i] H[j] H j H[i] H i flag = false flag false canLookSpotCnt += flag ? 1 : 0 canLookSpotCnt flag ? 1 : 0 flag 1 0 System.out.println(canLookSpotCnt) System.out.println System.out System System.out canLookSpotCnt String[] args args public class Main {
  public static void main(String[] args ){
    Scanner sc = new Scanner(System.in);

    int N = sc.nextInt();

    int[] H = new int[N];
    for (int i =0; i < N; i++) {
      H[i] = sc.nextInt();
    }

    int canLookSpotCnt = 1;
    for(int i = 1; i < N; i++) {
      boolean flag = true;
      for (int j = 0; j < i; j++) {
        if (H[j] > H[i]) flag = false;
      }
      canLookSpotCnt += flag ? 1 : 0;
    }

    System.out.println(canLookSpotCnt);
  }
} public class Main {
  public static void main(String[] args ){
    Scanner sc = new Scanner(System.in);

    int N = sc.nextInt();

    int[] H = new int[N];
    for (int i =0; i < N; i++) {
      H[i] = sc.nextInt();
    }

    int canLookSpotCnt = 1;
    for(int i = 1; i < N; i++) {
      boolean flag = true;
      for (int j = 0; j < i; j++) {
        if (H[j] > H[i]) flag = false;
      }
      canLookSpotCnt += flag ? 1 : 0;
    }

    System.out.println(canLookSpotCnt);
  }
} Main
import java.util.Scanner;
import java.util.Arrays;
import java.util.stream.Stream;
import java.util.stream.IntStream;
import java.lang.StringBuilder;

public class Main {
  public static void main(String[] args ){
    Scanner sc = new Scanner(System.in);

    int N = sc.nextInt();

    int[] H = new int[N];
    for (int i =0; i < N; i++) {
      H[i] = sc.nextInt();
    }

    int canLookSpotCnt = 1;
    for(int i = 1; i < N; i++) {
      boolean flag = true;
      for (int j = 0; j < i; j++) {
        if (H[j] > H[i]) flag = false;
      }
      canLookSpotCnt += flag ? 1 : 0;
    }

    System.out.println(canLookSpotCnt);
  }
}
