#include <bits/stdc++.h>
using namespace std;
const int maxn = 100000 + 5;
int a[maxn], x[maxn];
int main() {
  int n;
  cin >> n;
  int i, j;
  for (i = 0; i < n; i++) cin >> a[i];
  int sum = 1;
  int tmp = 1;
  for (i = 0; i < n - 1; i++) {
    if (a[i] <= a[i + 1])
      tmp++;
    else
      tmp = 1;
    if (tmp > sum) sum = tmp;
  }
  cout << sum << endl;
  return 0;
}
