IntermediateRating 1200
Multiply Matrices
Multiply an a×b matrix by a b×c matrix.
Input
a b c, then a lines, then b lines.
Output
a lines.
Sample 1
Input
2 2 2 1 2 3 4 5 6 7 8
Output
19 22 43 50
Sample 2
Input
1 3 1 1 2 3 4 5 6
Output
32
Output appears here