#include <bits/stdc++.h>
using namespace std;
int main() {
  int a;
  cin >> a;
  vector<int> v(a);
  vector<int> dp(a, 1);
  for (int i = 0; i < a; i++) cin >> v[i];
  dp[0] = 1;
  for (int i = 1; i < a; i++) {
    if (v[i] >= v[i - 1]) dp[i] = dp[i - 1] + 1;
  }
  cout << *max_element(dp.begin(), dp.end());
}
