#include <bits/stdc++.h>
using namespace std;
int watered_max(int target, const vector<int> &squares) {
  int result = 1, sz = squares.size();
  for (int i = target + 1; i < sz; ++i) {
    if (squares[i - 1] >= squares[i])
      ++result;
    else
      break;
  }
  for (int i = target - 1; i >= 0; --i) {
    if (squares[i + 1] >= squares[i])
      ++result;
    else
      break;
  }
  return result;
}
int main() {
  int n;
  vector<int> squares;
  int max_result = 1, cur_result;
  scanf("%d", &n);
  squares.assign(n, 0);
  for (int i = 0; i < n; ++i) {
    scanf("%d", &squares[i]);
  }
  for (int i = 0; i < n; ++i) {
    cur_result = watered_max(i, squares);
    if (cur_result > max_result) max_result = cur_result;
  }
  printf("%d\n", max_result);
  return 0;
}
