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