#include <bits/stdc++.h>
int main(void) {
  int a, b, c, d, e;
  d = 0;
  e = 2;
  scanf("%d %d %d", &a, &b, &c);
  if (b <= c) {
    d = d + 2;
    b = c;
  } else {
    d = d + 1;
  }
  while (a > e) {
    int x;
    scanf("%d", &x);
    if (b <= x) {
      d = d + 1;
      b = x;
    }
    e = e + 1;
  }
  printf("%d", d);
  return 0;
}
