fork(2) download
  1. from sys import stdin
  2.  
  3. n=int(input())
  4. q=[]
  5. k=[]
  6. p=[]
  7. p=input()
  8. q=p.split()
  9. while n>0:
  10. k.append(q[n-1])
  11. n=n-1
  12.  
  13. print (k)
Success #stdin #stdout 0.03s 9764KB
stdin
3
1 14 5
stdout
['5', '14', '1']