The number 1 is a perfect square and a perfict cube. What is the next smallest whole number which is a perfect square and a perfect cube?