#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, c = 0, p = 0;
  cin >> n;
  long long int a[n];
  for (long long int i = 0; i < n; i++) cin >> a[i];
  for (long long int i = 0; i < n; i++) {
    long long int j = i, t = 1;
    while (j >= 1 && a[j] >= a[j - 1]) {
      t++, j--;
    }
    j = i;
    while (j < n - 1 && a[j] >= a[j + 1]) {
      t++, j++;
    }
    c = max(c, t);
  }
  cout << c;
}
