#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a[1000], aa[2000], x, m = 0, j, max, k, h;
  cin >> n;
  k = 1000;
  for (int i = 0; i < n; i++) cin >> a[i];
  k = a[0];
  for (int i = 1; i < n; i++)
    if (a[i] > k) k = a[i];
  h = a[0];
  for (int i = 1; i < n; i++)
    if (a[i] < h) h = a[i];
  for (int i = 0; k >= h; i++) {
    x = 0;
    if (a[i] == k) {
      j = i - 1;
      max = k;
      while (max >= a[j] && j >= 0) {
        x++;
        max = a[j];
        j--;
      }
      max = k;
      j = i + 1;
      while (max >= a[j] && j < n) {
        x++;
        max = a[j];
        j++;
      }
      aa[m] = x;
      m++;
    }
    if (i == n - 1) {
      i = 0;
      k--;
    }
  }
  max = aa[0];
  for (int i = 0; i < m; i++)
    if (aa[i] >= max) max = aa[i];
  cout << (max + 1);
  return 0;
}
