#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  cin.sync_with_stdio(0);
  int n;
  cin >> n;
  int arr[1000] = {0};
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
  }
  int right = 0;
  int left = 0;
  int maxn = 0;
  int temp;
  for (int i = 0; i < n; i++) {
    right = 0;
    left = 0;
    temp = arr[i];
    for (int j = i; j < n; j++) {
      if (arr[j] <= temp) {
        right++;
        temp = arr[j];
      } else {
        break;
      }
    }
    temp = arr[i];
    for (int j = i - 1; j >= 0; j--) {
      if (arr[j] <= temp) {
        left++;
        temp = arr[j];
      } else {
        break;
      }
    }
    maxn = max(right + left, maxn);
  }
  cout << maxn;
  return 0;
}
