#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, b, mx = 0;
  cin >> n;
  int ar[n];
  for (int i = 0; i < n; i++) {
    cin >> ar[i];
    if (i > 0 && ar[i] >= ar[i - 1]) {
      b++;
    } else
      b = 1;
    mx = max(b, mx);
  }
  cout << mx << endl;
  return 0;
}
