{"raw_statement":[{"iden":"problem statement","content":"You are given an $H$\\-by-$W$ matrix $A$.  \nThe element at the $i$\\-th row from the top and $j$\\-th column from the left of $A$ is $A_{i,j}$.\nLet $B$ be a $W$\\-by-$H$ matrix whose element at the $i$\\-th row from the top and $j$\\-th column from the left equals $A_{j, i}$.  \nThat is, $B$ is the transpose of $A$.\nPrint $B$."},{"iden":"constraints","content":"*   $1\\leq H,W \\leq 10^5$\n*   $H \\times W \\leq 10^5$\n*   $1 \\leq A_{i,j} \\leq 10^9$\n*   All values in input are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$H$ $W$\n$A_{1,1}$ $A_{1,2}$ $\\ldots$ $A_{1,W}$\n$A_{2,1}$ $A_{2,2}$ $\\ldots$ $A_{2,W}$\n$\\vdots$\n$A_{H,1}$ $A_{H,2}$ $\\ldots$ $A_{H,W}$"},{"iden":"sample input 1","content":"4 3\n1 2 3\n4 5 6\n7 8 9\n10 11 12"},{"iden":"sample output 1","content":"1 4 7 10\n2 5 8 11\n3 6 9 12\n\nFor example, we have $A_{2,1}=4$, so the element at the $1$\\-st row from the top and $2$\\-nd column from the left of the transpose $B$ is $4$."},{"iden":"sample input 2","content":"2 2\n1000000000 1000000000\n1000000000 1000000000"},{"iden":"sample output 2","content":"1000000000 1000000000\n1000000000 1000000000"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}