Buggy python submission (verdict: Runtime Error):
n = int(input())

print((n-1)(n-2)/2)

Fixed submission:
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = 0

kari = 0
i = 0
for m in range(0,n-1):
	if h[m] >= h[m+1]:
		kari += 1
	else:
		kari = 0
	if ans < kari:
		ans = kari



print(ans)

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = 0

for i in range(0,n):
	kari = 0
	j = i
	while j<n-1 and h[j] >= h[j+1]:
		kari += 1
		j += 1
	if ans < kari:
		ans = kari
	if ans-1 >= n-i:
		break

print(ans)

Fixed submission:
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = 0

kari = 0
i = 0
for m in range(0,n-1):
	if h[m] >= h[m+1]:
		kari += 1
	else:
		kari = 0
	if ans < kari:
		ans = kari



print(ans)

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = []

for i in range(0,n):
	kari = 0
	j = i
	while j<n-1 and h[j] >= h[j+1]:
		kari += 1
		j += 1
	ans.append(kari)

print(max(ans))

Fixed submission:
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = 0

kari = 0
i = 0
for m in range(0,n-1):
	if h[m] >= h[m+1]:
		kari += 1
	else:
		kari = 0
	if ans < kari:
		ans = kari



print(ans)

Buggy python submission (verdict: Runtime Error):
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = []

for i in range(0,n):
	kari = 0
	j = i
	while h[j] >= j[j+1] and j<n-1:
		kari += 1
		j += 1
	ans.append(kari)

print(max(ans))

Fixed submission:
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = 0

kari = 0
i = 0
for m in range(0,n-1):
	if h[m] >= h[m+1]:
		kari += 1
	else:
		kari = 0
	if ans < kari:
		ans = kari



print(ans)

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = []

for i in range(0,n):
	kari = 0
	for j in range(i,n-1):
		if h[j] < h[j+1]:
			break
		kari += 1
	ans.append(kari)

print(max(ans))

Fixed submission:
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = 0

kari = 0
i = 0
for m in range(0,n-1):
	if h[m] >= h[m+1]:
		kari += 1
	else:
		kari = 0
	if ans < kari:
		ans = kari



print(ans)

Buggy python submission (verdict: Runtime Error):
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = []

for i in range(0,n):
	kari = 0
	for j in range(i,n-1):
		if h[j] < h[j+1]:
			break
		kari += 1
	ans.appened(kari)

print(max(ans))

Fixed submission:
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = 0

kari = 0
i = 0
for m in range(0,n-1):
	if h[m] >= h[m+1]:
		kari += 1
	else:
		kari = 0
	if ans < kari:
		ans = kari



print(ans)

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = 0

for i in range(0,n):
	kari = 0
	for j in range(i,n-1):
		if h[j] < h[j+1]:
			break
		kari += 1
	if ans < kari:
		ans = kari

print(ans)

Fixed submission:
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = 0

kari = 0
i = 0
for m in range(0,n-1):
	if h[m] >= h[m+1]:
		kari += 1
	else:
		kari = 0
	if ans < kari:
		ans = kari



print(ans)

Buggy python submission (verdict: Runtime Error):
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = 0

for i in range(0,n):
	kari = 0
	for j in range(i,n):
		if h[j] < h[j+1]:
			break
		kari += 1
	if ans < kari:
		ans = kari

print(ans)

Fixed submission:
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = 0

kari = 0
i = 0
for m in range(0,n-1):
	if h[m] >= h[m+1]:
		kari += 1
	else:
		kari = 0
	if ans < kari:
		ans = kari



print(ans)

Buggy python submission (verdict: Runtime Error):
n = int(input())

ans = 0

for i in range(0,n):
	kari = 0
	for j in range(i,n):
		if h[j] < h[j+1]:
			break
		kari += 1
	if ans < kari:
		ans = kari

print(ans)

Fixed submission:
n = int(input())
h = list(map(lambda x: int(x), input().split(" ")))

ans = 0

kari = 0
i = 0
for m in range(0,n-1):
	if h[m] >= h[m+1]:
		kari += 1
	else:
		kari = 0
	if ans < kari:
		ans = kari



print(ans)