#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n;
  scanf("%d", &n);
  int a[1010];
  for (int i = 1; i <= n; i++) {
    scanf("%d", &a[i]);
  }
  int ta[1010] = {0};
  for (int i = 1; i <= n; i++) {
    int temp = a[i];
    for (int j = i - 1; j >= 1; j--) {
      if (a[j] <= temp) {
        temp = a[j];
        ta[i]++;
      } else
        break;
    }
    temp = a[i];
    for (int j = i; j <= n; j++) {
      if (a[j] <= temp) {
        temp = a[j];
        ta[i]++;
      } else
        break;
    }
  }
  int maxx = -1;
  for (int i = 1; i <= n; i++)
    if (maxx < ta[i]) maxx = ta[i];
  printf("%d\n", maxx);
  return 0;
}
