N = int(eval(input()))

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



count = 0

max_move = 0

before = 0



for i in lis_h:

      if i <= before:

            count += 1

            if max_move < count:

                  max_move = count

      else:

            count = 0

      before = i

print(max_move)

            
n = int(eval(input()))

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



c = 0

mc = 0

for i in range(1,n):

      if L[i - 1] >= L[i]:

            c += 1

            if c >= mc:

                  mc = c

      else:

            c = 0

print(mc)

N = int(eval(input()))
lis_h = list(map(int, input().split()))
count = 0
max_move = 0
before = 0
for i in lis_h:
    if i <= before:
        count += 1
        if max_move < count:
            max_move = count
    else:
        count = 0
    before = i
print(max_move)

n = int(eval(input()))
L = list(map(int, input().split()))
c = 0
mc = 0
for i in range(1, n):
    if L[i - 1] >= L[i]:
        c += 1
        if c >= mc:
            mc = c
    else:
        c = 0
print(mc)

-N = int(eval(input())) -lis_h = list(map(int, input().split())) -count = 0 -max_move = 0 -before = 0 -for i in lis_h: -    if i <= before: -        count += 1 -        if max_move < count: -            max_move = count +n = int(eval(input())) +L = list(map(int, input().split())) +c = 0 +mc = 0 +for i in range(1, n): +    if L[i - 1] >= L[i]: +        c += 1 +        if c >= mc: +            mc = c -        count = 0 -    before = i -print(max_move) +        c = 0 +print(mc)