#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  unsigned long long n;
  cin >> n;
  unsigned long long arr[n], counter = 1, result = 1;
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
  }
  for (int i = 0; i < n - 1; i++) {
    counter = 1;
    for (int j = i + 1; j < n && arr[i] <= arr[j]; j++) {
      counter++;
      i++;
    }
    result = max(counter, result);
  }
  cout << result;
  return 0;
}
