N=int(eval(input()))

H = list(map(int, input().split()))

I=[H[i]-H[i+1] for i in range(N-1)]

a=0

n=0

j=0

while j<N-1:

  if I[j]>=0:

    j+=1

    n+=1

  else:

    j+=1

    a=max(n,a)

    n=0

a=max(n,a)

print(a)
N=int(eval(input()))

ls=list(map(int,input().split()))

if N==1:

  print((0))

  exit()

a=[]

k=0

for i in range(N-1):

  if ls[i]>=ls[i+1]:

    k+=1

  else:

    a.append(k)

    k=0

a.append(k)

print((max(a)))
N = int(eval(input()))
H = list(map(int, input().split()))
I = [H[i] - H[i + 1] for i in range(N - 1)]
a = 0
n = 0
j = 0
while j < N - 1:
    if I[j] >= 0:
        j += 1
        n += 1
    else:
        j += 1
        a = max(n, a)
        n = 0
a = max(n, a)
print(a)

N = int(eval(input()))
ls = list(map(int, input().split()))
if N == 1:
    print((0))
    exit()
a = []
k = 0
for i in range(N - 1):
    if ls[i] >= ls[i + 1]:
        k += 1
    else:
        a.append(k)
        k = 0
a.append(k)
print((max(a)))

-H = list(map(int, input().split())) -I = [H[i] - H[i + 1] for i in range(N - 1)] -a = 0 -n = 0 -j = 0 -while j < N - 1: -    if I[j] >= 0: -        j += 1 -        n += 1 +ls = list(map(int, input().split())) +if N == 1: +    print((0)) +    exit() +a = [] +k = 0 +for i in range(N - 1): +    if ls[i] >= ls[i + 1]: +        k += 1 -        j += 1 -        a = max(n, a) -        n = 0 -a = max(n, a) -print(a) +        a.append(k) +        k = 0 +a.append(k) +print((max(a)))