Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
ll = list(map(int,input().split()))
mm = []
pp = n
i = 0
for i in range(n):
    try:
        mm.append(str(ll[-1-2*i]))
        ll[-1-2*i] = '-1'
    except:
        pass

    
for i in range(len(ll)):
    if ll[i] != '-1':
        mm.append(str(ll[i]))
    else:
        None
        
sss = ''
for i in range(len(mm)):
    if i != 0:
        sss = sss + ' ' + mm[i]
    else:
        sss = sss + mm[i]
        
print(sss)

Fixed submission:
n = int(input())
ll = list(map(int,input().split()))
mm = []
pp = n
i = 0
for i in range(n):
    try:
        mm.append(str(ll[-1-2*i]))
        ll[-1-2*i] = '-1'
    except:
        pass

    
for i in range(len(ll)):
    if ll[i] != '-1':
        mm.append(str(ll[i]))
    else:
        None
        
sss = ''
for i in mm:
    print(i, end= ' ')

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
ll = list(map(int,input().split()))
mm = []
pp = n
i = 0
for i in range(n//2 + 1):
    try:
        mm.append(ll[-1-2*i])
        ll[-1-2*i] = -1
    except:
        pass

    
for i in range(len(ll)):
    if ll[i] > -1:
        mm.append(ll[i])
    else:
        None
        
sss = ''
for i in range(len(mm)):
    if i != 0:
        sss = sss + ' ' + str(mm[i])
    else:
        sss = sss + str(mm[i])
        
print(sss)

Fixed submission:
n = int(input())
ll = list(map(int,input().split()))
mm = []
pp = n
i = 0
for i in range(n):
    try:
        mm.append(str(ll[-1-2*i]))
        ll[-1-2*i] = '-1'
    except:
        pass

    
for i in range(len(ll)):
    if ll[i] != '-1':
        mm.append(str(ll[i]))
    else:
        None
        
sss = ''
for i in mm:
    print(i, end= ' ')

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
ll = list(map(int,input().split()))
mm = []
pp = n
i = 0
for i in range(n):
    try:
        mm.append(ll[-1-2*i])
        ll[-1-2*i] = -1
    except:
        pass

    
for i in range(len(ll)):
    if ll[i] > -1:
        mm.append(ll[i])
    else:
        None
        
sss = ''
for i in range(len(mm)):
    if i != 0:
        sss = sss + ' ' + str(mm[i])
    else:
        sss = sss + str(mm[i])
        
print(sss)

Fixed submission:
n = int(input())
ll = list(map(int,input().split()))
mm = []
pp = n
i = 0
for i in range(n):
    try:
        mm.append(str(ll[-1-2*i]))
        ll[-1-2*i] = '-1'
    except:
        pass

    
for i in range(len(ll)):
    if ll[i] != '-1':
        mm.append(str(ll[i]))
    else:
        None
        
sss = ''
for i in mm:
    print(i, end= ' ')

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
ll = list(map(int,input().split()))
mm = []
pp = n
i = 0
for i in range(n):
    try:
        mm.append(ll[-1-2*i])
        ll[-1-2*i] = -1
    except:
        pass

    
for i in range(len(ll)):
    if ll[i] > -1:
        mm.append(ll[i])
    else:
        None
        
sss = ''
for i in range(len(mm)):
    if i != 0:
        sss = sss + ' ' + str(mm[i])
    else:
        sss = sss + str(mm[i])
        
print(sss)

Fixed submission:
n = int(input())
ll = list(map(int,input().split()))
mm = []
pp = n
i = 0
for i in range(n):
    try:
        mm.append(str(ll[-1-2*i]))
        ll[-1-2*i] = '-1'
    except:
        pass

    
for i in range(len(ll)):
    if ll[i] != '-1':
        mm.append(str(ll[i]))
    else:
        None
        
sss = ''
for i in mm:
    print(i, end= ' ')

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
ll = list(map(int,input().split()))
mm = []
pp = n
i = 0
while pp > 0:
    mm.append(ll[-1-i])
    ll[-1-i] = -1
    i = i + 2
    pp = pp -2
    
for i in range(len(ll)):
    if ll[i] > -1:
        mm.append(ll[i])
    else:
        None
        
sss = ''
for i in range(len(mm)):
    if i != 0:
        sss = sss + ' ' + str(mm[i])
    else:
        sss = sss + str(mm[i])
        
print(sss)

Fixed submission:
n = int(input())
ll = list(map(int,input().split()))
mm = []
pp = n
i = 0
for i in range(n):
    try:
        mm.append(str(ll[-1-2*i]))
        ll[-1-2*i] = '-1'
    except:
        pass

    
for i in range(len(ll)):
    if ll[i] != '-1':
        mm.append(str(ll[i]))
    else:
        None
        
sss = ''
for i in mm:
    print(i, end= ' ')

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
a = list(map(int,input().split()))
b = []
if n % 2 == 0:
    for i in range(int(n/2)):
        b.append(a[n-1-2*i])
    for i in range(int(n/2)):
        b.append(a[2*i])    
else:
    for i in range(int((n + 1)/ 2)):
        b.append(a[n-2*i-1])
    for i in range(1,int((n + 1)/ 2)):
        b.append(a[2*i - 1])
        
c = ''
for i in range(len(b)):
    c = c + ' ' + str(b[i])
print(c)

Fixed submission:
n = int(input())
ll = list(map(int,input().split()))
mm = []
pp = n
i = 0
for i in range(n):
    try:
        mm.append(str(ll[-1-2*i]))
        ll[-1-2*i] = '-1'
    except:
        pass

    
for i in range(len(ll)):
    if ll[i] != '-1':
        mm.append(str(ll[i]))
    else:
        None
        
sss = ''
for i in mm:
    print(i, end= ' ')