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