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