#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, i, j, max = 0;
  cin >> n;
  long long int a[n];
  for (i = 0; i < n; i++) {
    cin >> a[i];
  }
  for (i = 0; i < n; i++) {
    long long int count = 1;
    for (j = i + 1; j < n; j++) {
      if (a[i] <= a[j]) {
        count++;
        i++;
      } else
        break;
    }
    if (count > max) max = count;
  }
  cout << max << endl;
}
