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