#include <bits/stdc++.h>
using namespace std;
int a[1001], x;
int fun(int v, int q, int w, int e) {
  if (a[e] >= a[v] && v > 0 && v <= x)
    return fun(v + q, q, w + 1, v);
  else
    return w;
}
int main() {
  cin >> x;
  for (int i = 1; i <= x; i++) cin >> a[i];
  int y, max = 0;
  for (int i = 1; i <= x; i++) {
    y = 1;
    y += fun(i - 1, -1, 0, i);
    y += fun(i + 1, 1, 0, i);
    if (max < y) max = y;
  }
  cout << max;
  return 0;
}
