#include <bits/stdc++.h>
int main(void) {
  int n, num = 1, max = 1, i;
  scanf("%d", &n);
  int a[n];
  for (i = 0; i < n; i++) {
    scanf("%d", &a[i]);
  }
  for (i = 0; i < n - 1; i++) {
    if (a[i] <= a[i + 1])
      num++;
    else {
      max = max > num ? max : num;
      num = 1;
    }
    max = max > num ? max : num;
  }
  printf("%d\n", max);
}
