#include <bits/stdc++.h>
using namespace std;
int table[1024];
int Left[1024];
int Right[1024];
int value[1024];
int main() {
  memset(table, 0, sizeof table);
  memset(Left, 0, sizeof Left);
  memset(Right, 0, sizeof Right);
  memset(value, 0, sizeof value);
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) cin >> table[i];
  for (int i = 0; i < n; i++) {
    int cnt = 0;
    for (int j = i - 1; j >= 0; j--) {
      if (table[j] <= table[j + 1]) {
        cnt++;
      } else
        break;
    }
    Left[i] += cnt;
  }
  for (int i = 0; i < n; i++) {
    int cnt = 0;
    for (int j = i + 1; j < n; j++) {
      if (table[j] <= table[j - 1]) {
        cnt++;
      } else
        break;
    }
    Right[i] += cnt;
  }
  for (int i = 0; i < n; i++) value[i] = Left[i] + Right[i] + 1;
  int ans = -1;
  for (int i = 0; i < n; i++)
    if (value[i] > ans) ans = value[i];
  cout << ans << endl;
  return 0;
}
