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