#include <bits/stdc++.h>
using namespace std;
const long long int inf = (long long)1e18;
const int dx[8] = {0, 0, 1, -1, 1, -1, 1, -1},
          dy[8] = {1, -1, 0, 0, 1, -1, -1, 1};
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  int ans = 0;
  vector<int> v;
  for (int i = 0; i < n; i++) {
    int x;
    cin >> x;
    v.push_back(x);
  }
  for (int i = 0; i < v.size(); i++) {
    int cnt = 1;
    int curr = v[i];
    for (int j = i - 1; j >= 0; j--) {
      if (curr >= v[j]) {
        cnt++;
        curr = v[j];
      } else
        break;
    }
    curr = v[i];
    for (int j = i + 1; j < v.size(); j++) {
      if (curr >= v[j]) {
        cnt++;
        curr = v[j];
      } else
        break;
    }
    ans = max(ans, cnt);
  }
  cout << ans << endl;
  return 0;
}
