#include <bits/stdc++.h>
using namespace std;
int arr[1001];
int main() {
  int n, k = 0, m = 1;
  cin >> n;
  for (int i = 0; i < n; i++) cin >> arr[i];
  for (int i = 0; i < n; i++) {
    int l = i + 1, c = 1, x = arr[i];
    while (l < n && arr[l] <= x) c++, x = arr[l], l++;
    l = i - 1;
    x = arr[i];
    while (l >= 0 && arr[l] <= x) c++, x = arr[l], l--;
    if (c > m) m = c, k = i;
  }
  cout << m;
}
