#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, res = 0, m = 0, mx = 0;
  cin >> n;
  vector<int> v(n);
  for (int i = 0; i < n; i++) cin >> v[i];
  for (int i = 0; i < n; i++) {
    int x = v[i], c = 1;
    for (int j = i + 1; j < n; j++) {
      if (x >= v[j]) {
        c++;
        x = min(v[j], x);
      } else
        break;
    }
    x = v[i];
    for (int j = i - 1; j >= 0; j--) {
      if (x >= v[j]) {
        c++;
        x = min(v[j], x);
      } else
        break;
    }
    res = max(res, c);
  }
  cout << res << endl;
  return 0;
}
