#include <bits/stdc++.h>
using namespace std;
int main() {
  string inp;
  int temp = 0, ct = 0, n = 0, prev = 0, maxim = 0;
  cin >> n;
  cin.ignore(256, '\n');
  getline(cin, inp);
  inp = inp + ' ';
  for (int i = 0; i < (int)inp.length(); i++) {
    if (inp[i] == ' ') {
      if (temp >= prev) {
        ct++;
        if (ct > maxim) maxim = ct;
      } else {
        ct = 1;
      }
      prev = temp;
      temp = 0;
    } else
      temp = temp * 10 + (inp[i] - '0');
  }
  cout << maxim;
  return 0;
}
