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