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