An array of size n \times m is given. Rotate it 90^\circ clockwise.
The first line contains two positive integers and , where 1 \le n, m \le 50.
Each of the next lines contains non-negative integers, each not exceeding 10^9 — the elements of the array.
Print the resulting array in the same format as in the input.
Example 1