# your code goes here
import math
x = int(input('Enter an integer: '))
if x ** 3 == abs(x):
print(math.sqrt(x))
if x < 0:
ans -= ans
print('Cube root of') + str(x) + 'is' + str(ans)
else:
print (x, 'is not a perfect cube')
IyB5b3VyIGNvZGUgZ29lcyBoZXJlCmltcG9ydCBtYXRoCgp4ID0gaW50KGlucHV0KCdFbnRlciBhbiBpbnRlZ2VyOiAnKSkKCmlmIHggKiogMyA9PSBhYnMoeCk6CiAgICBwcmludChtYXRoLnNxcnQoeCkpCiAgICBpZiB4IDwgMDoKICAgICAgICBhbnMgLT0gYW5zCiAgICAgICAgcHJpbnQoJ0N1YmUgcm9vdCBvZicpICsgc3RyKHgpICsgJ2lzJyArIHN0cihhbnMpCmVsc2U6CiAgICAgICAgcHJpbnQgKHgsICdpcyBub3QgYSBwZXJmZWN0IGN1YmUnKQoK