#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  vector<int> mas(n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &mas[i]);
  }
  int maxCount = 0;
  for (int i = 0; i < n; i++) {
    int count = 1;
    bool ok = true;
    for (int j = i - 1; j >= 0; j--) {
      if (mas[j] <= mas[j + 1])
        count++;
      else
        break;
    }
    for (int j = i + 1; j < n; j++) {
      if (mas[j] <= mas[j - 1])
        count++;
      else
        break;
    }
    if (count > maxCount) {
      maxCount = count;
    }
  }
  cout << maxCount;
  return 0;
}
