n=int(input()) li=list(map(int,input().split())) len_list=[] for i inrange(len(li)): for j inrange(1,len(li)): temp=li[i:j] iflen(temp)!=0: sort_temp = sorted(temp) if sort_temp == temp: len_list.append(len(temp)) print(max(len_list))
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
n = int(input())
ls = [*map(int,input().split())]
countmax = 1 count = 1
for i inrange(len(ls)-1): if ls[i] < ls[i+1]: count += 1 else: count = 1 countmax = max(countmax,count)