#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n;
  cin >> n;
  int a[n];
  int mx = 1;
  int ans = 1;
  cin >> a[0];
  for (int i = 1; i < n; i++) {
    cin >> a[i];
    if (a[i] >= a[i - 1])
      ans++;
    else
      ans = 1;
    if (ans > mx) mx = ans;
  }
  cout << mx;
}
