#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  t = 1;
  while (t--) {
    int n;
    cin >> n;
    int cnt = 0;
    int prev = -1;
    int ans = 0;
    int val;
    for (int i = 0; i < n; i++) {
      cin >> val;
      if (val >= prev)
        cnt += 1;
      else
        cnt = 1;
      prev = val;
      ans = max(ans, cnt);
    }
    cout << ans << "\n";
  }
}
