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