#include <bits/stdc++.h>
int count(int t[], int N) {
  int i, j, n;
  n = 0;
  for (i = 0; i < N; i++) {
    for (j = i - 1; j >= 0; j--) {
      if (t[i] < t[j]) {
        n--;
        break;
      }
    }
    n++;
  }
  return n;
}
int main(int argc, char const *argv[]) {
  int t[4] = {6, 5, 6, 8};
  int n = 0;
  int N = 4;
  n = count(t, N);
  printf("%d", n);
  return 0;
}
