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