#include <bits/stdc++.h>
using namespace std;
const int N = 100000;
int main() {
  int n;
  std::cin >> n;
  int a[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  int ans = 0;
  for (int i = 0; i < n; i++) {
    int cur = 1;
    for (int j = i - 1; j >= 0 && a[j] <= a[j + 1]; j--) cur++;
    for (int j = i + 1; j < n && a[j] <= a[j - 1]; j++) cur++;
    ans = max(ans, cur);
  }
  cout << ans;
  return 0;
}
