#include <bits/stdc++.h>
using namespace std;
int main() {
  int x;
  cin >> x;
  int ar[x];
  for (int i = 0; i < x; i++) {
    cin >> ar[i];
  }
  int ans = 0;
  for (int i = 0; i < x; i++) {
    int cnt = 1;
    int maks = ar[i];
    for (int j = i + 1; j < x; j++) {
      if (ar[j] > maks) break;
      cnt++;
      maks = ar[j];
    }
    maks = ar[i];
    for (int j = i - 1; j >= 0; j--) {
      if (ar[j] > maks) break;
      cnt++;
      maks = ar[j];
    }
    ans = max(ans, cnt);
  }
  cout << ans << "\n";
}
