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