for x in range (- 10,10) :
if x**3 == 27:
for y in range (-10,10) :
if y**3*x == 24 :
for z in range (-10,10) :
if x*y*z*z == 96 :
print z+x*y
Zm9yIHggaW4gcmFuZ2UgKC0gMTAsMTApIDoKCWlmIHgqKjMgPT0gMjc6CgkJZm9yIHkgaW4gcmFuZ2UgKC0xMCwxMCkgOgoJCQlpZiB5KiozKnggPT0gMjQgOgoJCQkJZm9yIHogaW4gcmFuZ2UgKC0xMCwxMCkgOgoJCQkJCWlmIHgqeSp6KnogPT0gOTYgOiAKCQkJCQkJcHJpbnQgeit4KnkgCgkg