Which of the following is both a perfect square and a perfect cube?
64
16
81
1,000

I know the answer is 64, but how? Can someone please explain me to me how to work this out?