#include <bits/stdc++.h>
using namespace std;
int n;
int h[22];
int answer = 0;
int tmp[22];
int main() {
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> h[i];
  }
  for (int i = 0; i < n; ++i) {
    tmp[i] = 0;
    for (int j = 0; j < i; ++j) {
      if (h[i] > h[j]) {
        tmp[i]++;
      }
    }
    if (tmp[i] == i) {
      answer++;
    }
  }
  cout << answer + 1 << endl;
}
