Eric likes interesting numbers such as 64. It turns out that 64 is both a perfect square and a perfect cube, since $64 = 8^2$ and $64 = 4^3$. Eric calls such numbers cool.
Write a program that counts how many integers in a given range are cool.
The first line contains an integer $a$ with $1 \le a \le 10^8$.
The second line contains an integer $b$ with $a \le b \le 10^8$.
Print the number of cool numbers in the inclusive range from $a$ to $b$ (both $a$ and $b$ are counted if they are cool).