题解 | #矩阵乘法#
x = int(input())
y = int(input())
z = int(input())
A = []
B = []
C = [[1] * z for _ in range(x)]
for i in range(1,x + 1):
A.append(list(map(int, input().split())))
for j in range(1,y + 1):
B.append(list(map(int, input().split())))
for i in range(x):
for j in range(z):
num = 0
for k in range(y):
num += A[i][k] * B[k][j]
C[i][j] = num
for c in C:
for i in c:
print(i,end=' ')
print('')