#include <bits/stdc++.h>
int main() {
  int n, i, count = 0, tem = 0;
  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]) {
      count++;
    } else
      count = 0;
    if (tem <= count) tem = count;
  }
  printf("%d", tem + 1);
}
