#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n, j, k, i, l = 0, m, o, p, q, r, c1 = 0, c2 = 0, c3 = 0;
  cin >> n;
  long long int a[n];
  for (i = 0; i < n; i++) {
    cin >> a[i];
  }
  if (n == 1) {
    cout << "1";
    return 0;
  }
  for (i = 0; i < n - 1; i++) {
    c1 = 1;
    while (a[i] <= a[i + 1] && i < n - 1) {
      c1++;
      i++;
    }
    c2 = max(c2, c1);
  }
  cout << c2;
}
