#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, bef, count = 0, max = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a;
    if (i != 0) {
      if (a - bef >= 0)
        count++;
      else {
        if (count > max) max = count;
        count = 1;
      }
    } else
      count++;
    bef = a;
  }
  if (count > max) max = count;
  cout << max << "\n";
  return 0;
}
