import java.io.*;
public class Main{
    public static void main(String[] args) throws IOException{
        Reader r = new Reader();
        int N = r.i();
      	int[] H = r.ii();
      	int num = 1;
        loop: for(int i = 1; i < N; i++){
            for(int j = 0; j < i; j++){
                if(H[i] < H[j]){
                    continue loop;
                }
            }
            num++;
        }        
        print(num);
    }
    static void print(String s){
        System.out.println(s);
    }
  	static void print(int i){
        System.out.println(i);
    }
    static void print(double d){
        System.out.println(d);
    }
    static void print(long l){
        System.out.println(l);
    }
    static class Reader extends BufferedReader{
        Reader(){
            super(new InputStreamReader(System.in));
        }
        String s() throws IOException{
            return readLine();
        }
        String[] ss() throws IOException{
            return readLine().split(" ");
        }
        int i() throws IOException{
            return Integer.parseInt(readLine());
        }
        int[] ii() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++){
                ii[j] = Integer.parseInt(ss[j]);
            }
            return ii;
        }
    }
} import java.io.*; io.* java public class Main{
    public static void main(String[] args) throws IOException{
        Reader r = new Reader();
        int N = r.i();
      	int[] H = r.ii();
      	int num = 1;
        loop: for(int i = 1; i < N; i++){
            for(int j = 0; j < i; j++){
                if(H[i] < H[j]){
                    continue loop;
                }
            }
            num++;
        }        
        print(num);
    }
    static void print(String s){
        System.out.println(s);
    }
  	static void print(int i){
        System.out.println(i);
    }
    static void print(double d){
        System.out.println(d);
    }
    static void print(long l){
        System.out.println(l);
    }
    static class Reader extends BufferedReader{
        Reader(){
            super(new InputStreamReader(System.in));
        }
        String s() throws IOException{
            return readLine();
        }
        String[] ss() throws IOException{
            return readLine().split(" ");
        }
        int i() throws IOException{
            return Integer.parseInt(readLine());
        }
        int[] ii() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++){
                ii[j] = Integer.parseInt(ss[j]);
            }
            return ii;
        }
    }
} Main public static void main(String[] args) throws IOException{
        Reader r = new Reader();
        int N = r.i();
      	int[] H = r.ii();
      	int num = 1;
        loop: for(int i = 1; i < N; i++){
            for(int j = 0; j < i; j++){
                if(H[i] < H[j]){
                    continue loop;
                }
            }
            num++;
        }        
        print(num);
    } main {
        Reader r = new Reader();
        int N = r.i();
      	int[] H = r.ii();
      	int num = 1;
        loop: for(int i = 1; i < N; i++){
            for(int j = 0; j < i; j++){
                if(H[i] < H[j]){
                    continue loop;
                }
            }
            num++;
        }        
        print(num);
    } Reader r = new Reader(); r new Reader() int N = r.i(); N r.i() r.i r int[] H = r.ii(); H r.ii() r.ii r int num = 1; num 1 print(num) print num String[] args args static void print(String s){
        System.out.println(s);
    } print {
        System.out.println(s);
    } System.out.println(s) System.out.println System.out System System.out s String s s static void print(int i){
        System.out.println(i);
    } print {
        System.out.println(i);
    } System.out.println(i) System.out.println System.out System System.out i int i i static void print(double d){
        System.out.println(d);
    } print {
        System.out.println(d);
    } System.out.println(d) System.out.println System.out System System.out d double d d static void print(long l){
        System.out.println(l);
    } print {
        System.out.println(l);
    } System.out.println(l) System.out.println System.out System System.out l long l l static class Reader extends BufferedReader{
        Reader(){
            super(new InputStreamReader(System.in));
        }
        String s() throws IOException{
            return readLine();
        }
        String[] ss() throws IOException{
            return readLine().split(" ");
        }
        int i() throws IOException{
            return Integer.parseInt(readLine());
        }
        int[] ii() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++){
                ii[j] = Integer.parseInt(ss[j]);
            }
            return ii;
        }
    } Reader Reader(){
            super(new InputStreamReader(System.in));
        } Reader {
            super(new InputStreamReader(System.in));
        } super(new InputStreamReader(System.in)) super new InputStreamReader(System.in) String s() throws IOException{
            return readLine();
        } s {
            return readLine();
        } return readLine(); readLine() readLine String[] ss() throws IOException{
            return readLine().split(" ");
        } ss {
            return readLine().split(" ");
        } return readLine().split(" "); readLine().split(" ") readLine().split readLine() readLine " " int i() throws IOException{
            return Integer.parseInt(readLine());
        } i {
            return Integer.parseInt(readLine());
        } return Integer.parseInt(readLine()); Integer.parseInt(readLine()) Integer.parseInt Integer readLine() readLine int[] ii() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++){
                ii[j] = Integer.parseInt(ss[j]);
            }
            return ii;
        } ii {
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++){
                ii[j] = Integer.parseInt(ss[j]);
            }
            return ii;
        } String[] ss = ss(); ss ss() ss int size = ss.length; size ss.length ss ss.length int[] ii = new int[size]; ii new int[size] size for(int j = 0; j < size; j++){
                ii[j] = Integer.parseInt(ss[j]);
            } int j = 0; int j = 0; j 0 j < size j size j++ j++ j {
                ii[j] = Integer.parseInt(ss[j]);
            } {
                ii[j] = Integer.parseInt(ss[j]);
            } ii[j] = Integer.parseInt(ss[j]) ii[j] ii j Integer.parseInt(ss[j]) Integer.parseInt Integer ss[j] ss j return ii; ii BufferedReader public class Main{
    public static void main(String[] args) throws IOException{
        Reader r = new Reader();
        int N = r.i();
      	int[] H = r.ii();
      	int num = 1;
        loop: for(int i = 1; i < N; i++){
            for(int j = 0; j < i; j++){
                if(H[i] < H[j]){
                    continue loop;
                }
            }
            num++;
        }        
        print(num);
    }
    static void print(String s){
        System.out.println(s);
    }
  	static void print(int i){
        System.out.println(i);
    }
    static void print(double d){
        System.out.println(d);
    }
    static void print(long l){
        System.out.println(l);
    }
    static class Reader extends BufferedReader{
        Reader(){
            super(new InputStreamReader(System.in));
        }
        String s() throws IOException{
            return readLine();
        }
        String[] ss() throws IOException{
            return readLine().split(" ");
        }
        int i() throws IOException{
            return Integer.parseInt(readLine());
        }
        int[] ii() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++){
                ii[j] = Integer.parseInt(ss[j]);
            }
            return ii;
        }
    }
} public class Main{
    public static void main(String[] args) throws IOException{
        Reader r = new Reader();
        int N = r.i();
      	int[] H = r.ii();
      	int num = 1;
        loop: for(int i = 1; i < N; i++){
            for(int j = 0; j < i; j++){
                if(H[i] < H[j]){
                    continue loop;
                }
            }
            num++;
        }        
        print(num);
    }
    static void print(String s){
        System.out.println(s);
    }
  	static void print(int i){
        System.out.println(i);
    }
    static void print(double d){
        System.out.println(d);
    }
    static void print(long l){
        System.out.println(l);
    }
    static class Reader extends BufferedReader{
        Reader(){
            super(new InputStreamReader(System.in));
        }
        String s() throws IOException{
            return readLine();
        }
        String[] ss() throws IOException{
            return readLine().split(" ");
        }
        int i() throws IOException{
            return Integer.parseInt(readLine());
        }
        int[] ii() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++){
                ii[j] = Integer.parseInt(ss[j]);
            }
            return ii;
        }
    }
} Main
import java.io.*;
public class Main{
    public static void main(String[] args) throws IOException{
        Reader r = new Reader();
        int N = r.i();
      	int[] H = r.ii();
      	int num = 1;
        loop: for(int i = 1; i < N; i++){
            for(int j = 0; j < i; j++){
                if(H[i] < H[j]){
                    continue loop;
                }
            }
            num++;
        }        
        print(num);
    }
    static void print(String s){
        System.out.println(s);
    }
  	static void print(int i){
        System.out.println(i);
    }
    static void print(double d){
        System.out.println(d);
    }
    static void print(long l){
        System.out.println(l);
    }
    static class Reader extends BufferedReader{
        Reader(){
            super(new InputStreamReader(System.in));
        }
        String s() throws IOException{
            return readLine();
        }
        String[] ss() throws IOException{
            return readLine().split(" ");
        }
        int i() throws IOException{
            return Integer.parseInt(readLine());
        }
        int[] ii() throws IOException{
            String[] ss = ss();
            int size = ss.length;
            int[] ii = new int[size];
            for(int j = 0; j < size; j++){
                ii[j] = Integer.parseInt(ss[j]);
            }
            return ii;
        }
    }
}