#include <bits/stdc++.h>
using namespace std;
void Doaa() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
}
int main() {
  Doaa();
  int n, m, count = 1, x, mx = 0;
  cin >> n;
  vector<int> v(n);
  for (int i = 0; i < n; i++) cin >> v[i];
  for (int i = 0; i < n; i++) {
    for (int j = i; j < n - 1; j++)
      if (v[j] >= v[j + 1])
        count++;
      else
        break;
    for (int j = i; j >= 1; j--)
      if (v[j] >= v[j - 1])
        count++;
      else
        break;
    mx = max(mx, count);
    count = 1;
  }
  cout << mx << endl;
  return 0;
}
