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