import java.util.Scanner;

public class Main {
    public static void main(String... args) {
        // 入力
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] x = new int[n];
        for (int i=0;i<n;i++) {
            x[i] = sc.nextInt();
        }

        int result = 1;
        for (int i=1;i<n;i++) {
            boolean canSee = true;
            for (int j=0;j<i;j++) {
                if (x[i] < x[j]) {
                    canSee = false;
                    break;
                }
            }
            if (canSee) {
                result++;
            }
        }

        System.out.println(result);
    }
} 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[] x = new int[n];
        for (int i=0;i<n;i++) {
            x[i] = sc.nextInt();
        }

        int result = 1;
        for (int i=1;i<n;i++) {
            boolean canSee = true;
            for (int j=0;j<i;j++) {
                if (x[i] < x[j]) {
                    canSee = false;
                    break;
                }
            }
            if (canSee) {
                result++;
            }
        }

        System.out.println(result);
    }
} Main public static void main(String... args) {
        // 入力
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] x = new int[n];
        for (int i=0;i<n;i++) {
            x[i] = sc.nextInt();
        }

        int result = 1;
        for (int i=1;i<n;i++) {
            boolean canSee = true;
            for (int j=0;j<i;j++) {
                if (x[i] < x[j]) {
                    canSee = false;
                    break;
                }
            }
            if (canSee) {
                result++;
            }
        }

        System.out.println(result);
    } main {
        // 入力
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] x = new int[n];
        for (int i=0;i<n;i++) {
            x[i] = sc.nextInt();
        }

        int result = 1;
        for (int i=1;i<n;i++) {
            boolean canSee = true;
            for (int j=0;j<i;j++) {
                if (x[i] < x[j]) {
                    canSee = false;
                    break;
                }
            }
            if (canSee) {
                result++;
            }
        }

        System.out.println(result);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int[] x = new int[n]; x new int[n] n for (int i=0;i<n;i++) {
            x[i] = sc.nextInt();
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            x[i] = sc.nextInt();
        } {
            x[i] = sc.nextInt();
        } x[i] = sc.nextInt() x[i] x i sc.nextInt() sc.nextInt sc int result = 1; result 1 for (int i=1;i<n;i++) {
            boolean canSee = true;
            for (int j=0;j<i;j++) {
                if (x[i] < x[j]) {
                    canSee = false;
                    break;
                }
            }
            if (canSee) {
                result++;
            }
        } int i=1; int i=1; i 1 i<n i n i++ i++ i {
            boolean canSee = true;
            for (int j=0;j<i;j++) {
                if (x[i] < x[j]) {
                    canSee = false;
                    break;
                }
            }
            if (canSee) {
                result++;
            }
        } {
            boolean canSee = true;
            for (int j=0;j<i;j++) {
                if (x[i] < x[j]) {
                    canSee = false;
                    break;
                }
            }
            if (canSee) {
                result++;
            }
        } boolean canSee = true; canSee true for (int j=0;j<i;j++) {
                if (x[i] < x[j]) {
                    canSee = false;
                    break;
                }
            } int j=0; int j=0; j 0 j<i j i j++ j++ j {
                if (x[i] < x[j]) {
                    canSee = false;
                    break;
                }
            } {
                if (x[i] < x[j]) {
                    canSee = false;
                    break;
                }
            } if (x[i] < x[j]) {
                    canSee = false;
                    break;
                } x[i] < x[j] x[i] x i x[j] x j {
                    canSee = false;
                    break;
                } canSee = false canSee false break; if (canSee) {
                result++;
            } canSee {
                result++;
            } result++ result System.out.println(result) System.out.println System.out System System.out result String... args args public class Main {
    public static void main(String... args) {
        // 入力
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] x = new int[n];
        for (int i=0;i<n;i++) {
            x[i] = sc.nextInt();
        }

        int result = 1;
        for (int i=1;i<n;i++) {
            boolean canSee = true;
            for (int j=0;j<i;j++) {
                if (x[i] < x[j]) {
                    canSee = false;
                    break;
                }
            }
            if (canSee) {
                result++;
            }
        }

        System.out.println(result);
    }
} public class Main {
    public static void main(String... args) {
        // 入力
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] x = new int[n];
        for (int i=0;i<n;i++) {
            x[i] = sc.nextInt();
        }

        int result = 1;
        for (int i=1;i<n;i++) {
            boolean canSee = true;
            for (int j=0;j<i;j++) {
                if (x[i] < x[j]) {
                    canSee = false;
                    break;
                }
            }
            if (canSee) {
                result++;
            }
        }

        System.out.println(result);
    }
} 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[] x = new int[n];
        for (int i=0;i<n;i++) {
            x[i] = sc.nextInt();
        }

        int result = 1;
        for (int i=1;i<n;i++) {
            boolean canSee = true;
            for (int j=0;j<i;j++) {
                if (x[i] < x[j]) {
                    canSee = false;
                    break;
                }
            }
            if (canSee) {
                result++;
            }
        }

        System.out.println(result);
    }
}
