

import java.util.*;
public class Main{

public static void main(String[] args){
Scanner obj=new Scanner(System.in);

int n=obj.nextInt();
int[] x=new int[n];
int[] count=new int[n];
int j=0;
x[0]=obj.nextInt();


for(int i=1;i<x.length;i++){
x[i]=obj.nextInt();

if(x[i-1]>=x[i]){
count[j]++;
}
else{
j++;
}

}
Arrays.sort(count);
System.out.println(count[count.length-1]);





}



} import java.util.*; util.* java public class Main{

public static void main(String[] args){
Scanner obj=new Scanner(System.in);

int n=obj.nextInt();
int[] x=new int[n];
int[] count=new int[n];
int j=0;
x[0]=obj.nextInt();


for(int i=1;i<x.length;i++){
x[i]=obj.nextInt();

if(x[i-1]>=x[i]){
count[j]++;
}
else{
j++;
}

}
Arrays.sort(count);
System.out.println(count[count.length-1]);





}



} Main public static void main(String[] args){
Scanner obj=new Scanner(System.in);

int n=obj.nextInt();
int[] x=new int[n];
int[] count=new int[n];
int j=0;
x[0]=obj.nextInt();


for(int i=1;i<x.length;i++){
x[i]=obj.nextInt();

if(x[i-1]>=x[i]){
count[j]++;
}
else{
j++;
}

}
Arrays.sort(count);
System.out.println(count[count.length-1]);





} main {
Scanner obj=new Scanner(System.in);

int n=obj.nextInt();
int[] x=new int[n];
int[] count=new int[n];
int j=0;
x[0]=obj.nextInt();


for(int i=1;i<x.length;i++){
x[i]=obj.nextInt();

if(x[i-1]>=x[i]){
count[j]++;
}
else{
j++;
}

}
Arrays.sort(count);
System.out.println(count[count.length-1]);





} Scanner obj=new Scanner(System.in); obj new Scanner(System.in) int n=obj.nextInt(); n obj.nextInt() obj.nextInt obj int[] x=new int[n]; x new int[n] n int[] count=new int[n]; count new int[n] n int j=0; j 0 x[0]=obj.nextInt() x[0] x 0 obj.nextInt() obj.nextInt obj for(int i=1;i<x.length;i++){
x[i]=obj.nextInt();

if(x[i-1]>=x[i]){
count[j]++;
}
else{
j++;
}

} int i=1; int i=1; i 1 i<x.length i x.length x x.length i++ i++ i {
x[i]=obj.nextInt();

if(x[i-1]>=x[i]){
count[j]++;
}
else{
j++;
}

} {
x[i]=obj.nextInt();

if(x[i-1]>=x[i]){
count[j]++;
}
else{
j++;
}

} x[i]=obj.nextInt() x[i] x i obj.nextInt() obj.nextInt obj if(x[i-1]>=x[i]){
count[j]++;
}
else{
j++;
} x[i-1]>=x[i] x[i-1] x i-1 i 1 x[i] x i {
count[j]++;
} count[j]++ count[j] count j {
j++;
} j++ j Arrays.sort(count) Arrays.sort Arrays count System.out.println(count[count.length-1]) System.out.println System.out System System.out count[count.length-1] count count.length-1 count.length count count.length 1 String[] args args public class Main{

public static void main(String[] args){
Scanner obj=new Scanner(System.in);

int n=obj.nextInt();
int[] x=new int[n];
int[] count=new int[n];
int j=0;
x[0]=obj.nextInt();


for(int i=1;i<x.length;i++){
x[i]=obj.nextInt();

if(x[i-1]>=x[i]){
count[j]++;
}
else{
j++;
}

}
Arrays.sort(count);
System.out.println(count[count.length-1]);





}



} public class Main{

public static void main(String[] args){
Scanner obj=new Scanner(System.in);

int n=obj.nextInt();
int[] x=new int[n];
int[] count=new int[n];
int j=0;
x[0]=obj.nextInt();


for(int i=1;i<x.length;i++){
x[i]=obj.nextInt();

if(x[i-1]>=x[i]){
count[j]++;
}
else{
j++;
}

}
Arrays.sort(count);
System.out.println(count[count.length-1]);





}



} Main


import java.util.*;
public class Main{

public static void main(String[] args){
Scanner obj=new Scanner(System.in);

int n=obj.nextInt();
int[] x=new int[n];
int[] count=new int[n];
int j=0;
x[0]=obj.nextInt();


for(int i=1;i<x.length;i++){
x[i]=obj.nextInt();

if(x[i-1]>=x[i]){
count[j]++;
}
else{
j++;
}

}
Arrays.sort(count);
System.out.println(count[count.length-1]);





}



}