Super Root Super Root
English RU

Square roots, cube roots, 4th roots... each are too boring for Nicola. He needs to find the super root! With your help he will almost certainly find it.

The super root of a number N is the number x, such that xx = N.

The result should be accurate so that xx ≈ N±0.001. Or N - 0.001 < xx < N + 0.001.

Input: A number (N) as an integer.

Output: The super root (x) as a float or an integer.


super_root(4) == 2
super_root(27) == 3
super_root(81) == 3.504339593597054

How it is used: This concept can be useful for the cryptography. And you will look how work your calculator then calculate roots.

1 ≤ number ≤ 10 ** 10