#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  int arr[n], i = 0, cnt = 1, max = 1;
  while (n--) {
    scanf("%d", &arr[i]);
    i++;
  }
  for (int j = 0; j < i - 1; j++) {
    if (arr[j] <= arr[j + 1]) {
      cnt += 1;
    } else {
      if (cnt > max) {
        max = cnt;
      }
      cnt = 1;
    }
  }
  if (cnt > max) {
    max = cnt;
  }
  cout << max;
  return 0;
}
