matr = []
maxi = [0,0,0]
for i in range(len(matr)):
if max(matr(i)) > maxi[0]:
maxi[max(matr(i)), i, matr(i).index(max(matr(i)))]
print(*maxi)
matr = []
maxi = [0,0,0]
for i in range(len(matr)):
if max(matr(i)) > maxi[0]:
maxi[max(matr(i)), i, matr(i).index(max(matr(i)))]
print(*maxi)