#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  ;
  int n, maxi = 0, count = 1;
  cin >> n;
  int a[n];
  for (int i = 0; i < n; i++) cin >> a[i];
  for (int i = 0; i < n; i++) {
    int j = i - 1, b = a[i];
    count = 1;
    while (j >= 0 && a[j] <= b) {
      b = a[j];
      count++;
      j--;
    }
    j = i + 1;
    b = a[i];
    while (j < n && a[j] <= b) {
      b = a[j];
      count++;
      j++;
    }
    maxi = max(maxi, count);
  }
  cout << maxi;
  return 0;
}
