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