#include <bits/stdc++.h>
using namespace std;
int main() {
  int p;
  cin >> p;
  int a[p];
  for (int i = 0; i < p; i++) {
    cin >> a[i];
  }
  int z = a[0];
  int ctm = 1;
  int ct = 1;
  for (int i = 1; i < p; i++) {
    if (a[i] >= z) {
      ct++;
      z = a[i];
    } else {
      if (ct > ctm) {
        ctm = ct;
      }
      ct = 1;
      z = a[i];
    }
  }
  if (ctm > ct) {
    cout << ctm;
  } else {
    cout << ct;
  }
  return 0;
}
