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