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