#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, b, x = 1, y = 1;
  cin >> n >> a;
  for (int i = 1; i < n; i++) {
    cin >> b;
    if (b >= a)
      x++;
    else
      x = 1;
    a = b;
    if (x > y) {
      y = x;
    }
  }
  cout << y;
  return 0;
}
