#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int tmp;
  int tmpa = 0;
  int ans = 0;
  int tmpans = 0;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> tmp;
    if (tmp >= tmpa) {
      tmpa = tmp;
      tmpans++;
    } else {
      tmpans = 1;
      tmpa = tmp;
    }
    ans = max(ans, tmpans);
  }
  cout << ans;
  return 0;
}
