A=matrix([[0,1,2],[2,3,4],[2,3,4]])     //assuming the matrix with the given condition
print det(A)