#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, ans = 0, len = 0, prev = 0;
  cin >> n;
  int i;
  for (i = 1; i <= n; i++) {
    int x;
    scanf("%d", &x);
    if (x >= prev) {
      prev = x;
      len++;
      ans = max(ans, len);
    } else {
      prev = x;
      len = 1;
      ans = max(ans, len);
    }
  }
  cout << ans;
  return 0;
}
