#include <bits/stdc++.h>
int main() {
  int num;
  scanf("%d", &num);
  int heights[20];
  int ans[20];
  for (int i = 0; i < num; i++) {
    scanf("%d", &heights[i]);
  }
  int j = 0;
  for (int i = 1; i < num; i++) {
    int t = heights[i];
    if (t >= heights[0] && t >= heights[1]) {
      if (t >= heights[i - 1]) {
        ans[j] = t;
        j++;
      }
    }
  }
  printf("%d", j + 1);
  return 0;
}
