#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a[1005], jojo = 1, butt, ass, dio = -2, cow, gyro;
  cin >> n;
  for (int i = 0; i < n; i++) cin >> a[i];
  for (int i = 0; i < n; i++) {
    cow = i;
    gyro = i;
    butt = i + 1;
    ass = i - 1;
    while (a[butt] <= a[gyro] && butt < n) {
      jojo++;
      butt++;
      gyro++;
    }
    while (a[ass] <= a[cow] && ass >= 0) {
      jojo++;
      ass--;
      cow--;
    }
    if (jojo > dio) dio = jojo;
    jojo = 1;
  }
  cout << dio;
  return 0;
}
