#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> v;
  copy_n(istream_iterator<int>(cin), n, back_inserter(v));
  int r = 0;
  for (int i = 0; i < n; ++i) {
    int cur = 1;
    int j = i - 1;
    while (j >= 0 && v[j] <= v[j + 1]) {
      --j;
      ++cur;
    }
    j = i + 1;
    while (j < n && v[j] <= v[j - 1]) {
      ++j;
      ++cur;
    }
    r = max(r, cur);
  }
  cout << r << endl;
  return 0;
}
