output_description: Print n integers in a line with spaces in between. The i-th integer should be
  b_i.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      n
      a_1 a_2 ... a_n
attempt: n = int(input())
  xs = [int(i) for i in input().split()]
  if n == 1:
      print(xs[0])
  else:
      output1 = [None] * (n // 2)
      output2 = [None] * (n // 2)
      suf = 1
      if n % 2 == 1:
          suf = 2
      for i in range(n // 2):
          output1[i] = xs[i * 2]
          if -(-2 * i - suf) <= n:
              output2[i] = xs[-2 * i - suf]
      if n % 2 == 1:
          output1.append(xs[n - 1])
          output1.reverse()
          output2.reverse()
          print(" ".join([str(i) for i in (output1 + output2)]))
      else:
          print(" ".join([str(i) for i in (output2 + output1)]))
  
problem_description: Statement
  
  You are given an integer sequence of length n, a_1, ..., a_n. Let us consider
  performing the following n operations on an empty sequence b.
  
  The i-th operation is as follows:
  
    1. Append a_i to the end of b.
    2. Reverse the order of the elements in b.
  
  Find the sequence b obtained after these n operations.
samples: [{"input": "4\n    1 2 3 4", "output": "4 2 1 3\n    \n\n  * After step 1 of the first operation, b becomes: 1.\n  * After step 2 of the first operation, b becomes: 1.\n  * After step 1 of the second operation, b becomes: 1, 2.\n  * After step 2 of the second operation, b becomes: 2, 1.\n  * After step 1 of the third operation, b becomes: 2, 1, 3.\n  * After step 2 of the third operation, b becomes: 3, 1, 2.\n  * After step 1 of the fourth operation, b becomes: 3, 1, 2, 4.\n  * After step 2 of the fourth operation, b becomes: 4, 2, 1, 3.\n\nThus, the answer is `4 2 1 3`.\n\n* * *"}, {"input": "3\n    1 2 3", "output": "3 1 2\n    \n\nAs shown above in Sample Output 1, b becomes 3, 1, 2 after step 2 of the third\noperation. Thus, the answer is `3 1 2`.\n\n* * *"}, {"input": "1\n    1000000000", "output": "1000000000\n    \n\n* * *"}, {"input": "6\n    0 6 7 6 7 0", "output": "0 6 6 0 7 7"}]