while True: try: x,y,z,A,B=int(input()),int(input()),int(input()),[],[] for i in range(x): A.append(list(map(int, input().split()))) #读入矩阵A for i in range(y): B.append(list(map(int, input().split()))) #读入矩阵B C ,tmp= [],0 for i in range(x): # A行 for j in range(z): #B列 for k in range(y): #A列,B行 tmp +=...