def METHOD_NAME(self, n):
    for i in range(n-1):
        for k in range(n-1):
            if i != k:
                if self.D[i][k] == self.D[i][n-1] + self.D[n-1][k]:
                    return (i, n, k)
    return "nop"