#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
const long long int INFL = 0x3f3f3f3f3f3f3f3fLL;
const int MOD = 1e9 + 7;
const int MAX = 1e5 + 5;
int a[1001];
int __attribute__((optimize("-O3"))) main() {
  cin.sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  int ans = 1;
  for (int i = 0; i < n; i++) {
    int l = i, r = i;
    while (l > 0 and a[l] >= a[l - 1]) {
      l--;
    }
    while (r < n - 1 and a[r] >= a[r + 1]) {
      r++;
    }
    ans = max(ans, r - l + 1);
  }
  cout << ans << "\n";
  return 0;
}
