import java.util.Scanner;

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

        int n = sc.nextInt();

        int h[] = new int[n];
        int viewableCnt = 0;

        for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            for (int j = (i-1); j >= 0; j--) {
                if (h[i] < h[j]){
                    break;
                } else if (j == 0) {
                    viewableCnt++;
                }
            }
        }
        System.out.println(viewableCnt + 1);
        sc.close();
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();

        int h[] = new int[n];
        int viewableCnt = 0;

        for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            for (int j = (i-1); j >= 0; j--) {
                if (h[i] < h[j]){
                    break;
                } else if (j == 0) {
                    viewableCnt++;
                }
            }
        }
        System.out.println(viewableCnt + 1);
        sc.close();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();

        int h[] = new int[n];
        int viewableCnt = 0;

        for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            for (int j = (i-1); j >= 0; j--) {
                if (h[i] < h[j]){
                    break;
                } else if (j == 0) {
                    viewableCnt++;
                }
            }
        }
        System.out.println(viewableCnt + 1);
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);

        int n = sc.nextInt();

        int h[] = new int[n];
        int viewableCnt = 0;

        for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            for (int j = (i-1); j >= 0; j--) {
                if (h[i] < h[j]){
                    break;
                } else if (j == 0) {
                    viewableCnt++;
                }
            }
        }
        System.out.println(viewableCnt + 1);
        sc.close();
    } 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 int viewableCnt = 0; viewableCnt 0 for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            for (int j = (i-1); j >= 0; j--) {
                if (h[i] < h[j]){
                    break;
                } else if (j == 0) {
                    viewableCnt++;
                }
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            h[i] = sc.nextInt();
            for (int j = (i-1); j >= 0; j--) {
                if (h[i] < h[j]){
                    break;
                } else if (j == 0) {
                    viewableCnt++;
                }
            }
        } {
            h[i] = sc.nextInt();
            for (int j = (i-1); j >= 0; j--) {
                if (h[i] < h[j]){
                    break;
                } else if (j == 0) {
                    viewableCnt++;
                }
            }
        } h[i] = sc.nextInt() h[i] h i sc.nextInt() sc.nextInt sc for (int j = (i-1); j >= 0; j--) {
                if (h[i] < h[j]){
                    break;
                } else if (j == 0) {
                    viewableCnt++;
                }
            } int j = (i-1); int j = (i-1); j (i-1) i 1 j >= 0 j 0 j-- j-- j {
                if (h[i] < h[j]){
                    break;
                } else if (j == 0) {
                    viewableCnt++;
                }
            } {
                if (h[i] < h[j]){
                    break;
                } else if (j == 0) {
                    viewableCnt++;
                }
            } if (h[i] < h[j]){
                    break;
                } else if (j == 0) {
                    viewableCnt++;
                } h[i] < h[j] h[i] h i h[j] h j {
                    break;
                } break; if (j == 0) {
                    viewableCnt++;
                } j == 0 j 0 {
                    viewableCnt++;
                } viewableCnt++ viewableCnt System.out.println(viewableCnt + 1) System.out.println System.out System System.out viewableCnt + 1 viewableCnt 1 sc.close() sc.close sc 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];
        int viewableCnt = 0;

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

        int n = sc.nextInt();

        int h[] = new int[n];
        int viewableCnt = 0;

        for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            for (int j = (i-1); j >= 0; j--) {
                if (h[i] < h[j]){
                    break;
                } else if (j == 0) {
                    viewableCnt++;
                }
            }
        }
        System.out.println(viewableCnt + 1);
        sc.close();
    }
} Main
import java.util.Scanner;

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

        int n = sc.nextInt();

        int h[] = new int[n];
        int viewableCnt = 0;

        for (int i = 0; i < n; i++) {
            h[i] = sc.nextInt();
            for (int j = (i-1); j >= 0; j--) {
                if (h[i] < h[j]){
                    break;
                } else if (j == 0) {
                    viewableCnt++;
                }
            }
        }
        System.out.println(viewableCnt + 1);
        sc.close();
    }
}
