You are to implement a program asking the user to input two integers m and n corresponding to an mxn matrix, followed by all entries of that matrix as shown in the input. Your program should do nothing more than outputting the matrix. Be careful not to output any extra whitespaces at the end and always put a '\n' at the end of the output. You may assume the maximum colums and rows of the input matrix is 10, and you do not need to check whether the input is correct or not.
3 2
12 8
3 17
9 8
12 8
3 17
9 8