#53941: Python 解


yukolee80630@gmail.com (Yuko8006 Lee)


buildings = input()
height = input().split()
last_height = 100
count = 1
route = 0
for h in height:
    if int(h) < last_height:
        count += 1
        last_height = int(h)
    else:
        if count >= route:
            route = count
            count = 1
        else:
            count = 1
        last_height = int(h)
    route = max(route, count)
print(str(route))