#include <bits/stdc++.h>
using namespace std;
int main() {
  int g[9999], n, ma = 1, cnt, j;
  cin >> n;
  for (int i = 0; i < n; i++) cin >> g[i];
  for (int i = 1; i < n; i++) {
    cnt = 1, j = i;
    while (g[i - 1] <= g[i] && i < n) {
      cnt++;
      i++;
    }
    while (g[i - 1] >= g[i] && i < n) {
      cnt++;
      i++;
    }
    i = j;
    if (ma < cnt) ma = cnt;
  }
  cout << ma << endl;
  return 0;
}
