#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a[100001], cur, c = 0, m = -1;
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
  }
  cur = a[0];
  for (int i = 0; i < n; ++i) {
    if (a[i] >= cur) {
      ++c;
      cur = a[i];
      if (c > m) {
        m = c;
      }
    } else {
      cur = a[i];
      c = 1;
    }
  }
  cout << m;
}
