#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n;
  cin >> n;
  int a[n];
  for (int i = (int)0; i < (int)n; ++i) {
    cin >> a[i];
  }
  int maxc = -1;
  for (int i = (int)0; i < (int)n; ++i) {
    int c = 1;
    for (int j = i - 1; j > -1; j--) {
      if (a[j] <= a[j + 1])
        c++;
      else
        break;
    }
    for (int k = i + 1; k < n; k++) {
      if (a[k - 1] >= a[k])
        c++;
      else
        break;
    }
    maxc = (maxc > c) ? maxc : c;
  }
  cout << maxc << endl;
  return 0;
}
