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