If 504 + P is a perfect cube number, whose cube root is P, then P = _________ .
If a number is both perfect square and perfect cube, then it will have a sixth root which is a natural number.