import numpy as np



N = int(eval(input()))

H = np.array(input().split(), dtype=np.int32)



"""

A = [10,4,8,7,3]

left_idx = [0,0,2,2,2]

というものを作る

"""

left_idx = np.arange(N)

left_idx[1:][H[:-1] >= H[1:]] = 0

np.maximum.accumulate(left_idx, out=left_idx)



ans = (np.arange(N) - left_idx).max()

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

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



ans = 0

count = 0

for h1, h2 in zip(A, A[1:]):

  count += 1

  if h1 < h2:

    count = 0

  ans = max(ans, count)

  

print(ans)  
import numpy as np

N = int(eval(input()))
H = np.array(input().split(), dtype=np.int32)
"""
A = [10,4,8,7,3]
left_idx = [0,0,2,2,2]
というものを作る
"""
left_idx = np.arange(N)
left_idx[1:][H[:-1] >= H[1:]] = 0
np.maximum.accumulate(left_idx, out=left_idx)
ans = (np.arange(N) - left_idx).max()
print(ans)

N = int(eval(input()))
A = list(map(int, input().split()))
ans = 0
count = 0
for h1, h2 in zip(A, A[1:]):
    count += 1
    if h1 < h2:
        count = 0
    ans = max(ans, count)
print(ans)

-import numpy as np - -H = np.array(input().split(), dtype=np.int32) -""" -A = [10,4,8,7,3] -left_idx = [0,0,2,2,2] -というものを作る -""" -left_idx = np.arange(N) -left_idx[1:][H[:-1] >= H[1:]] = 0 -np.maximum.accumulate(left_idx, out=left_idx) -ans = (np.arange(N) - left_idx).max() +A = list(map(int, input().split())) +ans = 0 +count = 0 +for h1, h2 in zip(A, A[1:]): +    count += 1 +    if h1 < h2: +        count = 0 +    ans = max(ans, count)