{"raw_statement":[{"iden":"problem statement","content":"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$.\nThe $i$\\-th operation is as follows:\n\n1.  Append $a_i$ to the end of $b$.\n2.  Reverse the order of the elements in $b$.\n\nFind the sequence $b$ obtained after these $n$ operations."},{"iden":"constraints","content":"*   $1 \\leq n \\leq 2\\times 10^5$\n*   $0 \\leq a_i \\leq 10^9$\n*   $n$ and $a_i$ are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$n$\n$a_1$ $a_2$ $...$ $a_n$"},{"iden":"sample input 1","content":"4\n1 2 3 4"},{"iden":"sample output 1","content":"4 2 1 3\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`."},{"iden":"sample input 2","content":"3\n1 2 3"},{"iden":"sample output 2","content":"3 1 2\n\nAs shown above in Sample Output 1, $b$ becomes $3, 1, 2$ after step 2 of the third operation. Thus, the answer is `3 1 2`."},{"iden":"sample input 3","content":"1\n1000000000"},{"iden":"sample output 3","content":"1000000000"},{"iden":"sample input 4","content":"6\n0 6 7 6 7 0"},{"iden":"sample output 4","content":"0 6 6 0 7 7"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}