#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, hasil = 0, max = 0;
  cin >> a;
  int A[a + 1];
  for (int i = 1; i <= a; i++) {
    cin >> A[i];
    if (i != 1) {
      if (A[i] >= A[i - 1])
        hasil++;
      else
        hasil = 0;
    }
    if (max < hasil) max = hasil;
  }
  cout << max + 1;
}
