#include <bits/stdc++.h>
int main(void) {
  int N = 0;
  scanf("%d\n", &N);
  int H[20];
  for (int i = 0; i < N; i++) {
    scanf("%d", &H[i]);
  }
  int R = H[0];
  int cnt = 1;
  for (int i = 1; i < N; i++) {
    if (R <= H[i] && H[i - 1] <= H[i]) {
      cnt++;
    }
  }
  printf("%d", cnt);
  return 0;
}
