import numpy as np

N = int(eval(input()))

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



diff = H[:-1] - H[1:]



ans = 0

tmp = 0

for d in diff:

    if d>=0:

        tmp += 1

        if ans<tmp:

            ans = tmp

    else:

        tmp = 0



print(ans)
n = int(eval(input()))

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



tmp = 0

ans = 0

for i in range(n - 1):

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

        tmp += 1

    else:

        ans = max(ans, tmp)

        tmp = 0

ans = max(ans, tmp)



print(ans)
import numpy as np

N = int(eval(input()))
H = np.array(list(map(int, input().split())))
diff = H[:-1] - H[1:]
ans = 0
tmp = 0
for d in diff:
    if d >= 0:
        tmp += 1
        if ans < tmp:
            ans = tmp
    else:
        tmp = 0
print(ans)

n = int(eval(input()))
h = list(map(int, input().split()))
tmp = 0
ans = 0
for i in range(n - 1):
    if h[i] >= h[i + 1]:
        tmp += 1
    else:
        ans = max(ans, tmp)
        tmp = 0
ans = max(ans, tmp)
print(ans)

-import numpy as np - -N = int(eval(input())) -H = np.array(list(map(int, input().split()))) -diff = H[:-1] - H[1:] +n = int(eval(input())) +h = list(map(int, input().split())) +tmp = 0 -tmp = 0 -for d in diff: -    if d >= 0: +for i in range(n - 1): +    if h[i] >= h[i + 1]: -        if ans < tmp: -            ans = tmp +        ans = max(ans, tmp) +ans = max(ans, tmp)