水
#include<iostream>
using namespace std;
const int maxn=1e5+7;
int dp[maxn];
int num[maxn];
int main(){
ios::sync_with_stdio(0);
int n;
cin>>n;
for(int i=0;i<n;i++) cin>>num[i];
int ans=0;
int tmp=1;
for(int i=1;i<n;i++){
if(num[i]>=num[i-1]) tmp++;
else{
ans=max(ans,tmp);
tmp=1;
}
}
ans=max(ans,tmp);
cout<<ans<<endl;
}