#include <bits/stdc++.h>
int main() {
  int t;
  scanf("%d", &t);
  int A[t];
  for (int i = 0; i < t; i++) {
    scanf("%d", &A[i]);
  }
  int count = 1, max = 1;
  for (int i = 0; i < t - 1; i++) {
    if (A[i] <= A[i + 1]) {
      count++;
      if (max <= count) max = count;
    } else {
      if (max < count) {
        max = count;
      }
      count = 1;
    }
  }
  printf("%d", max);
}
