A=matrix([[1,1,1],[1,2,2],[1,2,3]])
print A
A1=A.echelon_form()
print A1
A1.det()
A2=matrix([[1,2,3],[2,2,3],[3,3,3]])
print A2
A3=A2.echelon_form()
print A3
A3.det()