How many cubes of edge 1/2cm are required to build a cube of side 3cm

same question:

how many 1cm cubes does it take to fill a 6cm cube?