#include <bits/stdc++.h>
using namespace std;
int a[110000];
int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) scanf("%d", a + i);
  int ans = 1, cnt = 1;
  for (int i = 2; i <= n; i++) {
    if (a[i - 1] <= a[i]) {
      cnt++;
      if (i == n) {
        ans = max(cnt, ans);
        break;
      }
    } else {
      if (i > n) break;
      ans = max(ans, cnt);
      cnt = 1;
    }
  }
  cout << ans << endl;
  return 0;
}
