Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
a = list(map(int,input().split()))
ans = []
for i in a:
    ans = ans + [i]
    ans = ans[::-1]
print(*ans,sep=" ")

Fixed submission:
n = int(input())
a = list(map(int,input().split()))
if n % 2 == 0:
    a = a[::-2]+a[0::2]
else: a = a[::-2] +a[1::2]
print(*a,sep=" ")

Buggy python submission (verdict: Runtime Error):
N=int(input())
A=list(map(int,input().split()))
print(*A[::-2],*A[N%2::2])

Fixed submission:
n = int(input())
a = list(map(int,input().split()))
if n % 2 == 0:
    a = a[::-2]+a[0::2]
else: a = a[::-2] +a[1::2]
print(*a,sep=" ")

Buggy python submission (verdict: Runtime Error):
N=int(input())
A=list(map(int,input().split()))
print(*A[::-2],*A[N%2::2])

Fixed submission:
n = int(input())
a = list(map(int,input().split()))
if n % 2 == 0:
    a = a[::-2]+a[0::2]
else: a = a[::-2] +a[1::2]
print(*a,sep=" ")

Buggy python submission (verdict: Runtime Error):
n = int(input())
s = list(map(int,input().split()))
print(*s[::-2],*s[n%2::2])

Fixed submission:
n = int(input())
a = list(map(int,input().split()))
if n % 2 == 0:
    a = a[::-2]+a[0::2]
else: a = a[::-2] +a[1::2]
print(*a,sep=" ")

Buggy python submission (verdict: Runtime Error):
n = int(input())
s = list(map(int,input().split()))
print(*s[::-2],*s[n%2::2])

Fixed submission:
n = int(input())
a = list(map(int,input().split()))
if n % 2 == 0:
    a = a[::-2]+a[0::2]
else: a = a[::-2] +a[1::2]
print(*a,sep=" ")

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
s = []
a = list(map(int,input().split()))
for x in range(n):
    s.append(a[x])
    s = s[::-1]
print(*s)

Fixed submission:
n = int(input())
a = list(map(int,input().split()))
if n % 2 == 0:
    a = a[::-2]+a[0::2]
else: a = a[::-2] +a[1::2]
print(*a,sep=" ")

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
s = []
a = map(int,input().split())
for x in a:
    s.append(x)
    s = s[::-1]
print(*s)

Fixed submission:
n = int(input())
a = list(map(int,input().split()))
if n % 2 == 0:
    a = a[::-2]+a[0::2]
else: a = a[::-2] +a[1::2]
print(*a,sep=" ")

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
s = []
for x in map(int,input().split()):
    s.append(x)
    s = s[::-1]
print(*s)

Fixed submission:
n = int(input())
a = list(map(int,input().split()))
if n % 2 == 0:
    a = a[::-2]+a[0::2]
else: a = a[::-2] +a[1::2]
print(*a,sep=" ")

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
s = []
for x in map(int,input().split()):
    s += [x]
    s = s[::-1]
print(*s,sep=" ")

Fixed submission:
n = int(input())
a = list(map(int,input().split()))
if n % 2 == 0:
    a = a[::-2]+a[0::2]
else: a = a[::-2] +a[1::2]
print(*a,sep=" ")

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
s = []
S = []
for i,x in enumerate(map(int,input().split())):
    if i % 2 == 0:
        s.append(x)
        for _ in range(len(s)):
            S.append(s.pop())
    if i % 2 == 1:
        S.append(x)
        for _ in range(len(S)):
            s.append(S.pop())
if len(s) > len(S):print(*s,sep=" ")
else: print(*S,sep=" ")

Fixed submission:
n = int(input())
a = list(map(int,input().split()))
if n % 2 == 0:
    a = a[::-2]+a[0::2]
else: a = a[::-2] +a[1::2]
print(*a,sep=" ")