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