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