#include <bits/stdc++.h>
int main() {
  int n, i[20], a, count = 1, h[101], max_height = h[0];
  scanf("%d", &n);
  for (a = 0; a < n; a++) scanf("%d", &i[a]);
  for (a = 1; a < n; a++) {
    if (max_height <= h[a]) count++;
    max_height = h[a];
  }
  printf("%d", count);
  return 0;
}
