13666 - EE2310_Quiz_1_2   

Description

Continued from Problem #1. You are to inplement a program that performs matrix multiplication. The user is expected to input two matrices in the same format as described in Problem #1. Your program should output the matrix result.

Input

3 2
1 1
2 2
3 3
2 3
1 1 1
2 2 2

Output

3 3 3
6 6 6
9 9 9

 

Sample Input  Download

Sample Output  Download

Tags

140



Discuss