Perfect Squares / Cubes