//Atcoder
import java.io.*;
import java.util.*;

public class Main {

	static class FastScanner {
        BufferedReader br;
        StringTokenizer st;

        public FastScanner() {
            try {
                br = new BufferedReader(new InputStreamReader(System.in));
                st = new StringTokenizer(br.readLine());
            } catch (Exception e){e.printStackTrace();}
        }

        public String next() {
            if (st.hasMoreTokens()) return st.nextToken();
            try {st = new StringTokenizer(br.readLine());}
            catch (Exception e) {e.printStackTrace();}
            return st.nextToken();
        }

        public int nextInt() {return Integer.parseInt(next());}

        public long nextLong() {return Long.parseLong(next());}

        public double nextDouble() {return Double.parseDouble(next());}

        public String nextLine() {
            String line = "";
            if(st.hasMoreTokens()) line = st.nextToken();
            else try {return br.readLine();}catch(IOException e){e.printStackTrace();}
            while(st.hasMoreTokens()) line += " "+st.nextToken();
            return line;
        }
    }

	public static void main(String[] args) {
        FastScanner sc = new FastScanner();
        PrintWriter pw = new PrintWriter(System.out);

        int n = sc.nextInt();
        int[] h = new int[n];
        int[] max = new int[n];
        int best = 0;
        for(int i=0;i<n;i++) {
            h[i] = sc.nextInt();
            if(h[i] > best) best = h[i];
            max[i] = best;
        }

        //pw.println(Arrays.toString(h));
        //pw.println(Arrays.toString(max));

        int ans = 0;
        for(int i=n-1;i>0;i--) {
            if(h[i] >= max[i-1]) {
                ans++;
            }
        }

        pw.println(ans+1);
        pw.close();
    }
} import java.io.*; io.* java import java.util.*; util.* java public class Main {

	static class FastScanner {
        BufferedReader br;
        StringTokenizer st;

        public FastScanner() {
            try {
                br = new BufferedReader(new InputStreamReader(System.in));
                st = new StringTokenizer(br.readLine());
            } catch (Exception e){e.printStackTrace();}
        }

        public String next() {
            if (st.hasMoreTokens()) return st.nextToken();
            try {st = new StringTokenizer(br.readLine());}
            catch (Exception e) {e.printStackTrace();}
            return st.nextToken();
        }

        public int nextInt() {return Integer.parseInt(next());}

        public long nextLong() {return Long.parseLong(next());}

        public double nextDouble() {return Double.parseDouble(next());}

        public String nextLine() {
            String line = "";
            if(st.hasMoreTokens()) line = st.nextToken();
            else try {return br.readLine();}catch(IOException e){e.printStackTrace();}
            while(st.hasMoreTokens()) line += " "+st.nextToken();
            return line;
        }
    }

	public static void main(String[] args) {
        FastScanner sc = new FastScanner();
        PrintWriter pw = new PrintWriter(System.out);

        int n = sc.nextInt();
        int[] h = new int[n];
        int[] max = new int[n];
        int best = 0;
        for(int i=0;i<n;i++) {
            h[i] = sc.nextInt();
            if(h[i] > best) best = h[i];
            max[i] = best;
        }

        //pw.println(Arrays.toString(h));
        //pw.println(Arrays.toString(max));

        int ans = 0;
        for(int i=n-1;i>0;i--) {
            if(h[i] >= max[i-1]) {
                ans++;
            }
        }

        pw.println(ans+1);
        pw.close();
    }
} Main public static void main(String[] args) {
        FastScanner sc = new FastScanner();
        PrintWriter pw = new PrintWriter(System.out);

        int n = sc.nextInt();
        int[] h = new int[n];
        int[] max = new int[n];
        int best = 0;
        for(int i=0;i<n;i++) {
            h[i] = sc.nextInt();
            if(h[i] > best) best = h[i];
            max[i] = best;
        }

        //pw.println(Arrays.toString(h));
        //pw.println(Arrays.toString(max));

        int ans = 0;
        for(int i=n-1;i>0;i--) {
            if(h[i] >= max[i-1]) {
                ans++;
            }
        }

        pw.println(ans+1);
        pw.close();
    } main {
        FastScanner sc = new FastScanner();
        PrintWriter pw = new PrintWriter(System.out);

        int n = sc.nextInt();
        int[] h = new int[n];
        int[] max = new int[n];
        int best = 0;
        for(int i=0;i<n;i++) {
            h[i] = sc.nextInt();
            if(h[i] > best) best = h[i];
            max[i] = best;
        }

        //pw.println(Arrays.toString(h));
        //pw.println(Arrays.toString(max));

        int ans = 0;
        for(int i=n-1;i>0;i--) {
            if(h[i] >= max[i-1]) {
                ans++;
            }
        }

        pw.println(ans+1);
        pw.close();
    } FastScanner sc = new FastScanner(); sc new FastScanner() PrintWriter pw = new PrintWriter(System.out); pw new PrintWriter(System.out) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int[] h = new int[n]; h new int[n] n int[] max = new int[n]; max new int[n] n int best = 0; best 0 for(int i=0;i<n;i++) {
            h[i] = sc.nextInt();
            if(h[i] > best) best = h[i];
            max[i] = best;
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            h[i] = sc.nextInt();
            if(h[i] > best) best = h[i];
            max[i] = best;
        } {
            h[i] = sc.nextInt();
            if(h[i] > best) best = h[i];
            max[i] = best;
        } h[i] = sc.nextInt() h[i] h i sc.nextInt() sc.nextInt sc if(h[i] > best) best = h[i]; h[i] > best h[i] h i best best = h[i] best h[i] h i max[i] = best max[i] max i best int ans = 0; ans 0 for(int i=n-1;i>0;i--) {
            if(h[i] >= max[i-1]) {
                ans++;
            }
        } int i=n-1; int i=n-1; i n-1 n 1 i>0 i 0 i-- i-- i {
            if(h[i] >= max[i-1]) {
                ans++;
            }
        } {
            if(h[i] >= max[i-1]) {
                ans++;
            }
        } if(h[i] >= max[i-1]) {
                ans++;
            } h[i] >= max[i-1] h[i] h i max[i-1] max i-1 i 1 {
                ans++;
            } ans++ ans pw.println(ans+1) pw.println pw ans+1 ans 1 pw.close() pw.close pw String[] args args static class FastScanner {
        BufferedReader br;
        StringTokenizer st;

        public FastScanner() {
            try {
                br = new BufferedReader(new InputStreamReader(System.in));
                st = new StringTokenizer(br.readLine());
            } catch (Exception e){e.printStackTrace();}
        }

        public String next() {
            if (st.hasMoreTokens()) return st.nextToken();
            try {st = new StringTokenizer(br.readLine());}
            catch (Exception e) {e.printStackTrace();}
            return st.nextToken();
        }

        public int nextInt() {return Integer.parseInt(next());}

        public long nextLong() {return Long.parseLong(next());}

        public double nextDouble() {return Double.parseDouble(next());}

        public String nextLine() {
            String line = "";
            if(st.hasMoreTokens()) line = st.nextToken();
            else try {return br.readLine();}catch(IOException e){e.printStackTrace();}
            while(st.hasMoreTokens()) line += " "+st.nextToken();
            return line;
        }
    } FastScanner BufferedReader br; br StringTokenizer st; st public FastScanner() {
            try {
                br = new BufferedReader(new InputStreamReader(System.in));
                st = new StringTokenizer(br.readLine());
            } catch (Exception e){e.printStackTrace();}
        } FastScanner {
            try {
                br = new BufferedReader(new InputStreamReader(System.in));
                st = new StringTokenizer(br.readLine());
            } catch (Exception e){e.printStackTrace();}
        } try {
                br = new BufferedReader(new InputStreamReader(System.in));
                st = new StringTokenizer(br.readLine());
            } catch (Exception e){e.printStackTrace();} catch (Exception e){e.printStackTrace();} Exception e {e.printStackTrace();} e.printStackTrace() e.printStackTrace e {
                br = new BufferedReader(new InputStreamReader(System.in));
                st = new StringTokenizer(br.readLine());
            } br = new BufferedReader(new InputStreamReader(System.in)) br new BufferedReader(new InputStreamReader(System.in)) st = new StringTokenizer(br.readLine()) st new StringTokenizer(br.readLine()) public String next() {
            if (st.hasMoreTokens()) return st.nextToken();
            try {st = new StringTokenizer(br.readLine());}
            catch (Exception e) {e.printStackTrace();}
            return st.nextToken();
        } next {
            if (st.hasMoreTokens()) return st.nextToken();
            try {st = new StringTokenizer(br.readLine());}
            catch (Exception e) {e.printStackTrace();}
            return st.nextToken();
        } if (st.hasMoreTokens()) return st.nextToken(); st.hasMoreTokens() st.hasMoreTokens st return st.nextToken(); st.nextToken() st.nextToken st try {st = new StringTokenizer(br.readLine());}
            catch (Exception e) {e.printStackTrace();} catch (Exception e) {e.printStackTrace();} Exception e {e.printStackTrace();} e.printStackTrace() e.printStackTrace e {st = new StringTokenizer(br.readLine());} st = new StringTokenizer(br.readLine()) st new StringTokenizer(br.readLine()) return st.nextToken(); st.nextToken() st.nextToken st public int nextInt() {return Integer.parseInt(next());} nextInt {return Integer.parseInt(next());} return Integer.parseInt(next()); Integer.parseInt(next()) Integer.parseInt Integer next() next public long nextLong() {return Long.parseLong(next());} nextLong {return Long.parseLong(next());} return Long.parseLong(next()); Long.parseLong(next()) Long.parseLong Long next() next public double nextDouble() {return Double.parseDouble(next());} nextDouble {return Double.parseDouble(next());} return Double.parseDouble(next()); Double.parseDouble(next()) Double.parseDouble Double next() next public String nextLine() {
            String line = "";
            if(st.hasMoreTokens()) line = st.nextToken();
            else try {return br.readLine();}catch(IOException e){e.printStackTrace();}
            while(st.hasMoreTokens()) line += " "+st.nextToken();
            return line;
        } nextLine {
            String line = "";
            if(st.hasMoreTokens()) line = st.nextToken();
            else try {return br.readLine();}catch(IOException e){e.printStackTrace();}
            while(st.hasMoreTokens()) line += " "+st.nextToken();
            return line;
        } String line = ""; line "" if(st.hasMoreTokens()) line = st.nextToken();
            else try {return br.readLine();}catch(IOException e){e.printStackTrace();} st.hasMoreTokens() st.hasMoreTokens st line = st.nextToken() line st.nextToken() st.nextToken st try {return br.readLine();}catch(IOException e){e.printStackTrace();} catch(IOException e){e.printStackTrace();} IOException e {e.printStackTrace();} e.printStackTrace() e.printStackTrace e {return br.readLine();} return br.readLine(); br.readLine() br.readLine br while(st.hasMoreTokens()) line += " "+st.nextToken(); st.hasMoreTokens() st.hasMoreTokens st line += " "+st.nextToken() line " "+st.nextToken() " " st.nextToken() st.nextToken st return line; line public class Main {

	static class FastScanner {
        BufferedReader br;
        StringTokenizer st;

        public FastScanner() {
            try {
                br = new BufferedReader(new InputStreamReader(System.in));
                st = new StringTokenizer(br.readLine());
            } catch (Exception e){e.printStackTrace();}
        }

        public String next() {
            if (st.hasMoreTokens()) return st.nextToken();
            try {st = new StringTokenizer(br.readLine());}
            catch (Exception e) {e.printStackTrace();}
            return st.nextToken();
        }

        public int nextInt() {return Integer.parseInt(next());}

        public long nextLong() {return Long.parseLong(next());}

        public double nextDouble() {return Double.parseDouble(next());}

        public String nextLine() {
            String line = "";
            if(st.hasMoreTokens()) line = st.nextToken();
            else try {return br.readLine();}catch(IOException e){e.printStackTrace();}
            while(st.hasMoreTokens()) line += " "+st.nextToken();
            return line;
        }
    }

	public static void main(String[] args) {
        FastScanner sc = new FastScanner();
        PrintWriter pw = new PrintWriter(System.out);

        int n = sc.nextInt();
        int[] h = new int[n];
        int[] max = new int[n];
        int best = 0;
        for(int i=0;i<n;i++) {
            h[i] = sc.nextInt();
            if(h[i] > best) best = h[i];
            max[i] = best;
        }

        //pw.println(Arrays.toString(h));
        //pw.println(Arrays.toString(max));

        int ans = 0;
        for(int i=n-1;i>0;i--) {
            if(h[i] >= max[i-1]) {
                ans++;
            }
        }

        pw.println(ans+1);
        pw.close();
    }
} public class Main {

	static class FastScanner {
        BufferedReader br;
        StringTokenizer st;

        public FastScanner() {
            try {
                br = new BufferedReader(new InputStreamReader(System.in));
                st = new StringTokenizer(br.readLine());
            } catch (Exception e){e.printStackTrace();}
        }

        public String next() {
            if (st.hasMoreTokens()) return st.nextToken();
            try {st = new StringTokenizer(br.readLine());}
            catch (Exception e) {e.printStackTrace();}
            return st.nextToken();
        }

        public int nextInt() {return Integer.parseInt(next());}

        public long nextLong() {return Long.parseLong(next());}

        public double nextDouble() {return Double.parseDouble(next());}

        public String nextLine() {
            String line = "";
            if(st.hasMoreTokens()) line = st.nextToken();
            else try {return br.readLine();}catch(IOException e){e.printStackTrace();}
            while(st.hasMoreTokens()) line += " "+st.nextToken();
            return line;
        }
    }

	public static void main(String[] args) {
        FastScanner sc = new FastScanner();
        PrintWriter pw = new PrintWriter(System.out);

        int n = sc.nextInt();
        int[] h = new int[n];
        int[] max = new int[n];
        int best = 0;
        for(int i=0;i<n;i++) {
            h[i] = sc.nextInt();
            if(h[i] > best) best = h[i];
            max[i] = best;
        }

        //pw.println(Arrays.toString(h));
        //pw.println(Arrays.toString(max));

        int ans = 0;
        for(int i=n-1;i>0;i--) {
            if(h[i] >= max[i-1]) {
                ans++;
            }
        }

        pw.println(ans+1);
        pw.close();
    }
} Main
//Atcoder
import java.io.*;
import java.util.*;

public class Main {

	static class FastScanner {
        BufferedReader br;
        StringTokenizer st;

        public FastScanner() {
            try {
                br = new BufferedReader(new InputStreamReader(System.in));
                st = new StringTokenizer(br.readLine());
            } catch (Exception e){e.printStackTrace();}
        }

        public String next() {
            if (st.hasMoreTokens()) return st.nextToken();
            try {st = new StringTokenizer(br.readLine());}
            catch (Exception e) {e.printStackTrace();}
            return st.nextToken();
        }

        public int nextInt() {return Integer.parseInt(next());}

        public long nextLong() {return Long.parseLong(next());}

        public double nextDouble() {return Double.parseDouble(next());}

        public String nextLine() {
            String line = "";
            if(st.hasMoreTokens()) line = st.nextToken();
            else try {return br.readLine();}catch(IOException e){e.printStackTrace();}
            while(st.hasMoreTokens()) line += " "+st.nextToken();
            return line;
        }
    }

	public static void main(String[] args) {
        FastScanner sc = new FastScanner();
        PrintWriter pw = new PrintWriter(System.out);

        int n = sc.nextInt();
        int[] h = new int[n];
        int[] max = new int[n];
        int best = 0;
        for(int i=0;i<n;i++) {
            h[i] = sc.nextInt();
            if(h[i] > best) best = h[i];
            max[i] = best;
        }

        //pw.println(Arrays.toString(h));
        //pw.println(Arrays.toString(max));

        int ans = 0;
        for(int i=n-1;i>0;i--) {
            if(h[i] >= max[i-1]) {
                ans++;
            }
        }

        pw.println(ans+1);
        pw.close();
    }
}
