import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		try (Scanner in = new Scanner(System.in)) {
			int N = Integer.parseInt(in.next());
			int[] hills = new int[N];
			
			for (int i = 0; i < N; i++) {
				hills[i] = in.nextInt();
			}
			
			int coutner = 1;
			boolean isHigh = false;
			for (int i = 1; i < N; i++) {
				int hill_i = hills[i];
				for (int j = 0; j < i; j++) {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				}
				if (isHigh) coutner++;
			}
			
			System.out.println(coutner);
		} catch (Exception e) {
			// TODO: handle exception
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		try (Scanner in = new Scanner(System.in)) {
			int N = Integer.parseInt(in.next());
			int[] hills = new int[N];
			
			for (int i = 0; i < N; i++) {
				hills[i] = in.nextInt();
			}
			
			int coutner = 1;
			boolean isHigh = false;
			for (int i = 1; i < N; i++) {
				int hill_i = hills[i];
				for (int j = 0; j < i; j++) {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				}
				if (isHigh) coutner++;
			}
			
			System.out.println(coutner);
		} catch (Exception e) {
			// TODO: handle exception
		}
	}
} Main public static void main(String[] args) {
		try (Scanner in = new Scanner(System.in)) {
			int N = Integer.parseInt(in.next());
			int[] hills = new int[N];
			
			for (int i = 0; i < N; i++) {
				hills[i] = in.nextInt();
			}
			
			int coutner = 1;
			boolean isHigh = false;
			for (int i = 1; i < N; i++) {
				int hill_i = hills[i];
				for (int j = 0; j < i; j++) {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				}
				if (isHigh) coutner++;
			}
			
			System.out.println(coutner);
		} catch (Exception e) {
			// TODO: handle exception
		}
	} main {
		try (Scanner in = new Scanner(System.in)) {
			int N = Integer.parseInt(in.next());
			int[] hills = new int[N];
			
			for (int i = 0; i < N; i++) {
				hills[i] = in.nextInt();
			}
			
			int coutner = 1;
			boolean isHigh = false;
			for (int i = 1; i < N; i++) {
				int hill_i = hills[i];
				for (int j = 0; j < i; j++) {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				}
				if (isHigh) coutner++;
			}
			
			System.out.println(coutner);
		} catch (Exception e) {
			// TODO: handle exception
		}
	} try (Scanner in = new Scanner(System.in)) {
			int N = Integer.parseInt(in.next());
			int[] hills = new int[N];
			
			for (int i = 0; i < N; i++) {
				hills[i] = in.nextInt();
			}
			
			int coutner = 1;
			boolean isHigh = false;
			for (int i = 1; i < N; i++) {
				int hill_i = hills[i];
				for (int j = 0; j < i; j++) {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				}
				if (isHigh) coutner++;
			}
			
			System.out.println(coutner);
		} catch (Exception e) {
			// TODO: handle exception
		} catch (Exception e) {
			// TODO: handle exception
		} Exception e {
			// TODO: handle exception
		} {
			int N = Integer.parseInt(in.next());
			int[] hills = new int[N];
			
			for (int i = 0; i < N; i++) {
				hills[i] = in.nextInt();
			}
			
			int coutner = 1;
			boolean isHigh = false;
			for (int i = 1; i < N; i++) {
				int hill_i = hills[i];
				for (int j = 0; j < i; j++) {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				}
				if (isHigh) coutner++;
			}
			
			System.out.println(coutner);
		} Scanner in = new Scanner(System.in) Scanner in = new Scanner(System.in) new Scanner(System.in) int N = Integer.parseInt(in.next()); N Integer.parseInt(in.next()) Integer.parseInt Integer in.next() in.next in int[] hills = new int[N]; hills new int[N] N for (int i = 0; i < N; i++) {
				hills[i] = in.nextInt();
			} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
				hills[i] = in.nextInt();
			} {
				hills[i] = in.nextInt();
			} hills[i] = in.nextInt() hills[i] hills i in.nextInt() in.nextInt in int coutner = 1; coutner 1 boolean isHigh = false; isHigh false for (int i = 1; i < N; i++) {
				int hill_i = hills[i];
				for (int j = 0; j < i; j++) {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				}
				if (isHigh) coutner++;
			} int i = 1; int i = 1; i 1 i < N i N i++ i++ i {
				int hill_i = hills[i];
				for (int j = 0; j < i; j++) {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				}
				if (isHigh) coutner++;
			} {
				int hill_i = hills[i];
				for (int j = 0; j < i; j++) {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				}
				if (isHigh) coutner++;
			} int hill_i = hills[i]; hill_i hills[i] hills i for (int j = 0; j < i; j++) {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				} int j = 0; int j = 0; j 0 j < i j i j++ j++ j {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				} {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				} int hill_j = hills[j]; hill_j hills[j] hills j if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					} hill_i < hill_j hill_i hill_j {
						isHigh = false;
						break;
					} isHigh = false isHigh false break; {
						isHigh = true;
					} isHigh = true isHigh true if (isHigh) coutner++; isHigh coutner++ coutner System.out.println(coutner) System.out.println System.out System System.out coutner String[] args args public class Main {
	public static void main(String[] args) {
		try (Scanner in = new Scanner(System.in)) {
			int N = Integer.parseInt(in.next());
			int[] hills = new int[N];
			
			for (int i = 0; i < N; i++) {
				hills[i] = in.nextInt();
			}
			
			int coutner = 1;
			boolean isHigh = false;
			for (int i = 1; i < N; i++) {
				int hill_i = hills[i];
				for (int j = 0; j < i; j++) {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				}
				if (isHigh) coutner++;
			}
			
			System.out.println(coutner);
		} catch (Exception e) {
			// TODO: handle exception
		}
	}
} public class Main {
	public static void main(String[] args) {
		try (Scanner in = new Scanner(System.in)) {
			int N = Integer.parseInt(in.next());
			int[] hills = new int[N];
			
			for (int i = 0; i < N; i++) {
				hills[i] = in.nextInt();
			}
			
			int coutner = 1;
			boolean isHigh = false;
			for (int i = 1; i < N; i++) {
				int hill_i = hills[i];
				for (int j = 0; j < i; j++) {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				}
				if (isHigh) coutner++;
			}
			
			System.out.println(coutner);
		} catch (Exception e) {
			// TODO: handle exception
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		try (Scanner in = new Scanner(System.in)) {
			int N = Integer.parseInt(in.next());
			int[] hills = new int[N];
			
			for (int i = 0; i < N; i++) {
				hills[i] = in.nextInt();
			}
			
			int coutner = 1;
			boolean isHigh = false;
			for (int i = 1; i < N; i++) {
				int hill_i = hills[i];
				for (int j = 0; j < i; j++) {
					int hill_j = hills[j];
					if (hill_i < hill_j) {
						isHigh = false;
						break;
					} else {
						isHigh = true;
					}
				}
				if (isHigh) coutner++;
			}
			
			System.out.println(coutner);
		} catch (Exception e) {
			// TODO: handle exception
		}
	}
}
