#include <bits/stdc++.h>
using namespace std;
std::vector<std::string> &split(const std::string &s, char delim,
                                std::vector<std::string> &elems) {
  std::stringstream ss(s);
  std::string item;
  while (std::getline(ss, item, delim)) {
    elems.push_back(item);
  }
  return elems;
}
std::vector<std::string> split(const std::string &s, char delim) {
  std::vector<std::string> elems;
  return split(s, delim, elems);
}
string tostring(int n) {
  stringstream ss;
  ss << n;
  return ss.str();
}
int inp[1010], n;
int main() {
  scanf("%d", &n);
  for (int i = 0; i < n; i++) scanf("%d", &inp[i]);
  int ret = 1, ct = 0, t;
  int j = 0;
  for (int i = 0; i < n; i++) {
    j = i - 1;
    ct = 1;
    t = i;
    for (; j >= 0; j--) {
      if (inp[j] <= inp[t]) {
        ct++;
        t = j;
      } else
        break;
    }
    j = i + 1;
    t = i;
    for (; j < n; j++) {
      if (inp[j] <= inp[t]) {
        ct++;
        t = j;
      } else
        break;
    }
    ret = max(ret, ct);
  }
  printf("%d\n", ret);
  return 0;
}
