#include <bits/stdc++.h>
using namespace std;
long long a[1001];
long long b[1001];
long long c[100001][4];
bool out[101];
int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
  }
  for (int i = 1; i <= n; i++) {
    b[i]++;
    int l = i - 1;
    int stat = a[i];
    while (l > 0 && stat >= a[l]) {
      b[i]++;
      stat = a[l];
      l--;
    }
    l = i + 1;
    stat = a[i];
    while (l <= n && stat >= a[l]) {
      b[i]++;
      stat = a[l];
      l++;
    }
  }
  int maks = b[1];
  for (int i = 2; i <= n; i++)
    if (maks < b[i]) maks = b[i];
  cout << maks;
}
