#include <bits/stdc++.h>
int main() {
  int ans, n, h[101], i, cnt = 0, j, cnt1 = 1;
  scanf("%d", &n);
  for (i = 0; i < n; i++) scanf("%d", &h[i]);
  for (i = 1; i < n; i++) {
    for (j = 0; j < i; j++) {
      if (h[j] > h[i]) break;
      if (h[j] <= h[i]) cnt++;
      if (cnt == i) cnt1++;
    }
  }
  printf("%d", cnt1);
  return 0;
}
