#include <bits/stdc++.h>
using namespace std;
const long long int INF = 1e9 + 7;
const long long int MAX = 1e5 + 7;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int n;
  cin >> n;
  vector<long long int> v(n);
  long long int mx = -INF;
  for (long long int i = 0; i < n; i++) cin >> v[i];
  for (long long int i = 0; i < n; i++) {
    long long int jj = -INF;
    if (!i) {
      long long int t = 1;
      for (long long int j = i + 1; j < n; j++) {
        if (v[j] <= v[j - 1]) {
          t++;
        } else
          break;
      }
      jj = max(jj, t);
    } else if (i == n - 1) {
      long long int t = 1;
      for (long long int j = i - 1; j >= 0; j--) {
        if (v[j] <= v[j + 1]) {
          t++;
        } else
          break;
      }
      jj = max(jj, t);
    } else {
      long long int t = 1;
      for (long long int j = i - 1; j >= 0; j--) {
        if (v[j] <= v[j + 1])
          t++;
        else
          break;
      }
      for (long long int j = i + 1; j < n; j++) {
        if (v[j] <= v[j - 1])
          t++;
        else
          break;
      }
      jj = max(jj, t);
    }
    mx = max(mx, jj);
  }
  cout << mx << "\n";
  return 0;
}
