#include <bits/stdc++.h>
using namespace std;
long long ar[1010];
int main() {
  long long n, ma = 0, p;
  cin >> n;
  for (long long i = 0; i < n; i++) {
    cin >> ar[i];
  }
  for (long long j = 0; j < n; j++) {
    long long c = 1, d = 0;
    for (long long i = j; i < n - 1; i++) {
      if (ar[i] < ar[i + 1])
        break;
      else
        c++;
    }
    for (long long i = j; i >= 1; i--) {
      if (ar[i] < ar[i - 1])
        break;
      else
        d++;
    }
    ma = max(c + d, ma);
  }
  cout << ma << "\n";
  return 0;
}
