Write a program which reads a n×m matrix A and a m×l matrix B, and prints their product, a n×l matrix C. An element of matrix C is obtained by the following formula:
cij=m∑k=1aikbkjwhere aij, bij and cij are elements of A, B and C respectively.
In the first line, three integers n, m and l are given separated by space characters
In the following lines, the n×m matrix A and the m×l matrix B are given.
Print elements of the n×l matrix C (cij). Print a single space character between adjacent elements.
3 2 3 1 2 0 3 4 5 1 2 1 0 3 2
1 8 5 0 9 6 4 23 14