#include <bits/stdc++.h>
using namespace std;
int n;
int h[1000], w[1000];
int width(int i, int tmph, int diff) {
  if (i < 0 || i >= n) {
    return 0;
  }
  if (h[i] <= tmph) {
    return 1 + width(i + diff, h[i], diff);
  } else {
    return 0;
  }
}
int main() {
  int max = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> h[i];
  }
  for (int i = 0; i < n; i++) {
    int tmp = 1 + width(i - 1, h[i], -1) + width(i + 1, h[i], 1);
    if (max < tmp) {
      max = tmp;
    }
  }
  cout << max << endl;
  return 0;
}
