def PrintMatrix(mat):
    for i in len(mat):
        print(*mat[i])