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