1111: 矩形转置

Memory Limit:128 MB Time Limit:1.000 S Judge Style:Text Compare Creator:
Submit:356 Solved:150

Description

输入N*N的矩阵,输出它的转置矩阵。

不允许普通用户打印题目,请教师登录后使用。如有疑问请联系管理员!

Input

第一行为整数N(1≤N≤10)。 接着是一个N*N的矩阵。


Output

转置矩阵。

Sample Input Copy

3
1 2 3
4 5 6
7 8 9

Sample Output Copy

7 4 1
8 5 2
9 6 3