Read n x m matrix, print transpose.
Write a complete program: read the input with input() and print the result with print().
input()
print()
Input
2 3 1 2 3 4 5 6
Output
1 4 2 5 3 6