#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[1000];
  int n, counter, max = 0;
  cin >> n;
  for (int i = 0; i < n; i++) cin >> a[i];
  for (int i = 0; i < n; i++) {
    counter = 1;
    for (int j = i; j != 0; j--) {
      if (a[j] >= a[j - 1])
        counter++;
      else {
        break;
      }
    }
    for (int j = i; j < n - 1; j++) {
      if (a[j] >= a[j + 1])
        counter++;
      else
        break;
    }
    if (max < counter) max = counter;
  }
  cout << max;
  return 0;
}
