#include <bits/stdc++.h>
using namespace std;
vector<long long> v;
map<long long, long long> mp;
set<long long> s;
long long mn = INT_MAX, mx = INT_MIN;
long long i, j, tmp, sum, cn, ans, res;
long long a[10005];
int main() {
  long long n, p = 0, mx = 1, cn1 = 1, cn2 = 1;
  cin >> n;
  for (i = 0; i < n; i++) cin >> a[i];
  for (i = 0; i < n; i++) {
    cn1 = 1;
    for (j = i; j > 0 && a[j] >= a[j - 1]; j--) cn1++;
    for (j = i; j < n - 1 && a[j] >= a[j + 1]; j++) cn1++;
    mx = max(mx, cn1);
  }
  cout << mx;
  return 0;
}
