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