#include <bits/stdc++.h>
using namespace std;
int arr[1005];
int main() {
  int n, counter = 1, maxv = 0;
  cin >> n;
  for (int i = 0; i < n; ++i) cin >> arr[i];
  for (int i = 0; i < n; ++i) {
    counter = 1;
    for (int j = i; j < n - 1; ++j)
      if (arr[j] >= arr[j + 1])
        ++counter;
      else
        break;
    for (int j = i; j > 0; --j)
      if (arr[j] >= arr[j - 1])
        ++counter;
      else
        break;
    maxv = max(maxv, counter);
  }
  cout << maxv << "\n";
  return 0;
}
