#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, x, i, a = 0, c = 0;
  cin >> n;
  vector<long long> cnt;
  for (i = 0; i < n; i++) {
    cin >> x;
    if (a <= x)
      a = x, c++, cnt.push_back(c);
    else
      a = x, cnt.push_back(c), c = 1;
  }
  sort(cnt.begin(), cnt.end(), greater<long long>());
  cout << cnt[0] << endl;
  return 0;
}
