# 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')

