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