#include <bits/stdc++.h>
using namespace std;
int main() {
  int aa[20], b = 1, bb = 0;
  cin >> bb;
  cin >> aa[1];
  for (int i = 2; i <= bb; i++) {
    cin >> aa[i];
    if (aa[1] <= aa[i] && aa[i - 1] <= aa[i]) b++;
    if (aa[i] >= 100) {
      i--;
      b++;
    }
  }
  cout << b;
}
