#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
const long long INF = 1e18;
const long long N = 1e5 + 7;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ;
  int n;
  cin >> n;
  int a[n + 2];
  a[0] = 0;
  a[n + 1] = 0;
  for (int i = 1; i <= n; i += 1) cin >> a[i];
  int ans = 1;
  for (int i = 1; i <= n; i += 1) {
    int l = 0, r = 0;
    for (int j = i; j >= 2; j -= 1) {
      if (a[j] >= a[j - 1])
        l++;
      else
        break;
    }
    for (int j = i; j < n; j += 1) {
      if (a[j] >= a[j + 1])
        r++;
      else
        break;
    }
    ans = max(ans, l + r);
  }
  if (n == 1)
    cout << 1;
  else
    cout << ans + 1;
  return 0;
}
