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