n lines: swap consecutive pairs, then reverse odd-positioned lines (1-indexed).
Write a complete program: read the input with input() and print the result with print().
input()
print()
Input
4 abcd efgh ijkl mnop
Output
hgfe abcd ponm ijkl