#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  int current = 1, maxtotal = 0;
  for (int i = 0; i < n; i++) {
    current = 1;
    for (int j = i; j < n - 1 && a[j] >= a[j + 1]; j++, current++)
      ;
    for (int j = i; j > 0 && a[j] >= a[j - 1]; j--, current++)
      ;
    if (current > maxtotal) {
      maxtotal = current;
    }
  }
  cout << maxtotal;
  return 0;
}
