#include <iostream>

int main()
{
  int H[100];
  int N;
  std::cin >> N;
  for (int x = 0; x < N; ++x)
    std::cin >> H[x];

  int z = 1;
  for (int x = 1; x < N; ++x)
  {
    if (H[x - 1] <= H[x])
    {
      z++;
    }
  }
  std::cout << Z << std::endl;
}