好暴力的解法,我只能说。。。

a=float(input())
if a>=0:
    b=a**(1/3)
else:
    b=(-a)**(1/3)
    b=-b
print(round(b,1))