#include <bits/stdc++.h>
using namespace std;
int n, a, ans, tmp;
vector<int> seq;
int main() {
  ios::sync_with_stdio(0);
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a;
    seq.push_back(a);
  }
  for (int i = 0; i < n; i++) {
    tmp = 1;
    for (int j = i + 1; j < n; j++)
      if (seq[j] <= seq[j - 1])
        tmp++;
      else
        break;
    for (int j = i - 1; j >= 0; j--)
      if (seq[j] <= seq[j + 1])
        tmp++;
      else
        break;
    ans = max(ans, tmp);
  }
  cout << ans << endl;
  return 0;
}
