#include<bits/stdc++.h>
#include<algorithm>
#include<cmath>
using namespace std;
int main(){
int n,y=-27;
cin>>n;
int day=0,maxday=0;
for(int i=i;i<=n;i++){
int x;
cin>>x;
if(x>=y){
day++;
maxday=max(day,maxday);
}
else
day=1;
y=x;
}
cout<<maxday;
return 0;
}