#include <bits/stdc++.h>
using namespace std;
int n;
int x, y;
int c = 1, d = 1;
int main() {
  scanf("%d%d", &n, &y);
  for (; --n; y = x) {
    scanf("%d", &x);
    c = max(c, d = x >= y ? ++d : 1);
  }
  printf("%d", c);
  return 0;
}
