Find the integer $$n$$ such that the rational number $$A = \frac{8n - 25}{n + 5}$$ is equal to a cube of a rational number.