Buggy python submission (verdict: Runtime Error):
N = int(input())
H =list(map(int, input().split()))
count = []
count_tmp = 0
if N == 0:
    print(0)
else:
    for i in range(N-1):
        if H[i] >= H[i+1]:
            count_tmp += 1
            if i == N-2:
                count.append(count_tmp)
        else:
            count.append(count_tmp)
            count_tmp = 0
    print(max(count))

Fixed submission:
N = int(input())
H =list(map(int, input().split()))
count = []
count_tmp = 0
if N == 1:
    print(0)
else:
    for i in range(N-1):
        if H[i] >= H[i+1]:
            count_tmp += 1
            if i == N-2:
                count.append(count_tmp)
        else:
            count.append(count_tmp)
            count_tmp = 0
    print(max(count))

Buggy python submission (verdict: Runtime Error):
N = int(input())
H =list(map(int, input().split()))
count = []
count_tmp = 0
if N == 0:
  print(0)
else:
	for i in range(N-1):
    	if H[i] >= H[i+1]:
        	count_tmp += 1
        	if i == N-2:
            	count.append(count_tmp)
    	else:
        	count.append(count_tmp)
        	count_tmp = 0
	print(max(count))

Fixed submission:
N = int(input())
H =list(map(int, input().split()))
count = []
count_tmp = 0
if N == 1:
    print(0)
else:
    for i in range(N-1):
        if H[i] >= H[i+1]:
            count_tmp += 1
            if i == N-2:
                count.append(count_tmp)
        else:
            count.append(count_tmp)
            count_tmp = 0
    print(max(count))

Buggy python submission (verdict: Runtime Error):
N = int(input())
H =list(map(int, input().split()))
count = []
count_tmp = 0
for i in range(N-1):
    if H[i] >= H[i+1]:
        count_tmp += 1
        if i == N-2:
            count.append(count_tmp)
    else:
        count.append(count_tmp)
        count_tmp = 0
print(max(count))

Fixed submission:
N = int(input())
H =list(map(int, input().split()))
count = []
count_tmp = 0
if N == 1:
    print(0)
else:
    for i in range(N-1):
        if H[i] >= H[i+1]:
            count_tmp += 1
            if i == N-2:
                count.append(count_tmp)
        else:
            count.append(count_tmp)
            count_tmp = 0
    print(max(count))

Buggy python submission (verdict: Runtime Error):
N = int(input())
H =list(map(int, input().split()))
count = []
count_tmp = 0
for i in range(N-1):
    if H[i] >= H[i+1]:
        count_tmp += 1
        if i == N-2:
            count.append(count_tmp)
    else:
        print(i)
        count.append(count_tmp)
        count_tmp = 0
print(max(count))

Fixed submission:
N = int(input())
H =list(map(int, input().split()))
count = []
count_tmp = 0
if N == 1:
    print(0)
else:
    for i in range(N-1):
        if H[i] >= H[i+1]:
            count_tmp += 1
            if i == N-2:
                count.append(count_tmp)
        else:
            count.append(count_tmp)
            count_tmp = 0
    print(max(count))

Buggy python submission (verdict: Runtime Error):
N = int(input())
H =list(map(int, input().split()))
count = []
count_tmp = 0
for i in range(N-1):
  if H[i] >= H[i+1]:
    count_tmp += 1
  else:
    count.append(count_tmp)
    count_tmp = 0
print(max(count))
  

Fixed submission:
N = int(input())
H =list(map(int, input().split()))
count = []
count_tmp = 0
if N == 1:
    print(0)
else:
    for i in range(N-1):
        if H[i] >= H[i+1]:
            count_tmp += 1
            if i == N-2:
                count.append(count_tmp)
        else:
            count.append(count_tmp)
            count_tmp = 0
    print(max(count))