#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> v;
  for (int i = 0; i < n; i++) {
    int in;
    cin >> in;
    v.push_back(in);
  }
  int cnt = 1;
  int max = 1;
  for (int i = 1; i < n; i++) {
    if (v[i] >= v[i - 1]) {
      cnt++;
      if (cnt > max) {
        max = cnt;
      }
    } else {
      if (cnt > max) {
        max = cnt;
      }
      cnt = 1;
    }
  }
  cout << max << endl;
  return 0;
}
