#include <bits/stdc++.h>
using namespace std;
int main() {
  long int mx = 0, n;
  cin >> n;
  vector<long int> vec;
  for (int i = 0; i < n; i++) {
    long int x;
    cin >> x;
    vec.push_back(x);
  }
  if (vec.size() == 1) {
    cout << "1" << endl;
    return 0;
  }
  for (int i = 0; i < n; i++) {
    long int len = 1, temp = vec[i];
    for (int j = i + 1; j < n; j++) {
      if (vec[j] >= temp) {
        temp = vec[j];
        len++;
      } else {
        break;
      }
    }
    mx = max(mx, len);
  }
  cout << mx << endl;
  return 0;
}
