#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  int n;
  cin >> n;
  int cnt = 1, a[n], l, r;
  for (int i = 0; i < n; i++) cin >> a[i];
  for (int i = 0; i < n; i++) {
    int cur_sec = 1, cur = i;
    l = i - 1, r = i + 1;
    while (l >= 0) {
      if (a[l] <= a[cur]) cur_sec++;
      if (a[l - 1] > a[l] || (l - 1) < 0) break;
      l--;
    }
    while (r < n) {
      if (a[r] <= a[cur]) cur_sec++;
      if (a[r + 1] > a[r] || (r + 1) > n) break;
      r++;
    }
    cnt = max(cnt, cur_sec);
  }
  cout << cnt;
  return 0;
}
