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