Hard
Multiply Two Matrices
Read two square n × n matrices and print their product using nested comprehensions, one row per line.
Input
n, then n rows of A, then n rows of B.
Output
n rows.
Sample 1
Input
2 1 2 3 4 5 6 7 8
Output
19 22 43 50
Sample 2
Input
1 3 4
Output
12
Output appears here