n=int(input()) a=list(map(int,input().split())) m=max(a) ind=[] for i in range(20,n-20): if all(a[i]>=a[i+j] for j in range(-5,6)): ind.append(i) dt=0 for i in range(len(ind)-1): dt=max(dt,ind[i+1]-ind[i]) ans=n/dt if 255