#include <bits/stdc++.h>
using namespace std;
int main() {
  long int mx = 0, len = 0, n, prev;
  cin >> n >> prev;
  for (int i = 1; i < n; i++) {
    long int x;
    cin >> x;
    if (x >= prev) {
      len++;
      mx = max(mx, len);
    } else {
      len = 0;
    }
    prev = x;
  }
  cout << ++mx << endl;
  return 0;
}
