#include <bits/stdc++.h>
using namespace std;
int a[1010];
int dp1[1010], dp2[1010];
int n;
int main() {
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  dp1[0] = 0;
  dp2[n - 1] = 0;
  for (int i = 1; i < n; i++) {
    if (a[i] >= a[i - 1]) dp1[i] = dp1[i - 1] + 1;
    if (a[n - i - 1] >= a[n - i]) dp2[n - i - 1] = dp2[n - i] + 1;
  }
  int t = 0;
  int ans = 0;
  for (int i = 0; i < n; i++) {
    t = dp1[i] + dp2[i];
    if (t > ans) ans = t;
  }
  cout << ans + 1;
  return 0;
}
