print "5^3^2 = ", 5^3^2 print "(5^3)^2 = ", (5^3)^2 print "5^(3^2) = ", 5^(3^2) end