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