#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vll = vector<ll>;
using vvll = vector<vll>;
using vb = vector<bool>;
using vd = vector<double>;
using vs = vector<string>;
using vpii = vector<pair<int, int>>;
using vpll = vector<pair<ll, ll>>;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
void solve() {
  int n;
  cin >> n;
  vi a(n);
  for (ll i = 0; i < n; i++) cin >> a[i];
  ;
  int ans = 0;
  for (ll i = 0; i < (n); i++) {
    int j = i;
    while (a[j] <= a[j + 1] && j < n - 1) {
      j++;
    }
    while (a[j] >= a[j + 1] && j < n - 1) {
      j++;
    }
    ans = max((ll)ans, j - i + 1);
  }
  cout << ans << '\n';
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ll t = 1;
  while (t--) {
    solve();
  }
}
