#include <bits/stdc++.h>
using namespace std;
void PrintVector(vector<int> v2, string s) {
  cout << s;
  for (int i = 0; i < v2.size(); i++) cout << v2[i] << " ";
  cout << endl;
}
void PrintVector(vector<int> v2) {
  for (int i = 0; i < v2.size(); i++) cout << v2[i] << " ";
  cout << endl;
}
int isOdd(int x) { return (x % 2); }
int toInt(string str) {
  int num;
  istringstream iss(str);
  iss >> num;
  return num;
}
template <class T>
string toStr(T par) {
  ostringstream oss;
  oss << par;
  return oss.str();
}
void readVector(vector<int> &vec, int len) {
  for (int i = 0; i < len; i++) {
    cin >> vec[i];
  }
}
long long int gcd(long long int a, long long int b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
bool sortPairsCmp(const pair<int, int> &a, const pair<int, int> &b) {
  return a.second > b.second;
}
int arr[1000] = {0};
int cost[1000] = {0};
int max_waterd = 0, last_h = 0;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n, waterd = 0;
  cin >> n;
  for (int i = 0; i < n; i++) cin >> arr[i];
  if (n <= 2) {
    cout << n << endl;
    return 0;
  }
  for (int j = 0; j < n; j++) {
    waterd = 1;
    for (int k = j; k < n - 1; k++) {
      if (arr[k] >= arr[k + 1])
        waterd++;
      else
        break;
    }
    for (int k = j; k > 0; k--) {
      if (arr[k] >= arr[k - 1])
        waterd++;
      else
        break;
    }
    if (waterd > max_waterd) max_waterd = waterd;
  }
  cout << max_waterd << endl;
}
