#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, temp, num, maxx = 1, cnt = 1;
  scanf("%d", &n);
  scanf("%d", &num);
  temp = num;
  for (int i = 1; i < n; i++) {
    scanf("%d", &num);
    if (num >= temp) {
      cnt++;
      maxx = max(cnt, maxx);
    } else {
      maxx = max(cnt, maxx);
      cnt = 1;
    }
    temp = num;
  }
  printf("%d\n", maxx);
}
