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