#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> heights(n);
  for (auto& height : heights) {
    cin >> height;
  }
  int count = 1;
  for (int i = 1; i < heights.size(); i++) {
    const int height = heights[i];
    bool flag = true;
    for (int j = 0; j < i; j++) {
      if (height > heights[j]) {
        flag = false;
        break;
      }
      if (flag) {
        count++;
      }
    }
  }
  cout << count << endl;
  return 0;
}
