There are some usefull manipulations on matrices like transposition, rotation, and etc. In this problem we want to scale a matrix by k times. For example, given a 2x2 matrix A[1 2 ; 3 4] and k=2, you need to expand the size of matrix A by repeating elements twice. So the output should be [1 1 2 2 ; 1 1 2 2 ; 3 3 4 4 ; 3 3 4 4]. Here is a illustration for you :
The first line contains two integers, which are within the range of 1<=n<=1000 and 1<=k<=1000. The integer n represent the size of input matrix A and the number k denotes the scaling factor.
The next n lines each of which contains n integers, specifing the n-by-n input matrix A.
The output should be a (k*n)-by-(k*n) matrix.
Each elements should be seperated be a space. You NEED to print '\n' at the end.