#include <bits/stdc++.h>
int main(void) {
  int n = 0, i, j, max = 0, count = 0;
  scanf("%d", &n);
  int heignt[n];
  for (i = 0; i < n; i++) {
    scanf("%d", &heignt[i]);
    if (max < heignt[i]) max = heignt[i];
    count++;
  }
  printf("%d", count);
  return 0;
}
