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