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