#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[1005], f, k = 0, l = 1;
  cin >> f;
  for (int i = 0; i < f; i++) cin >> a[i];
  for (int i = f - 1, p = 0; i >= 0, p < f; i--, p++) {
    for (int j = i - 1; j >= 0; j--) {
      if (a[i] > a[j] || a[i] == a[i - 1]) l++;
      if (a[j - 1] > a[j]) break;
    }
    for (int j = i + 1; j < f; j++) {
      if (a[i] > a[j] || a[i] == a[i + 1]) l++;
      if (a[j + 1] > a[j]) break;
    }
    k = max(k, l);
    l = 1;
  }
  cout << k << endl;
}
