A cuboid of dimensions (6 cm x 4 cm x 1 cm) is painted black on both the surfaces of dimensions (4 cm x 1 cm), green on the surfaces of dimensions (6 cm x 4 cm). and red on the surfaces of dimensions (6 cm x 1 cm). Now the block is divided into various smaller cubes of side 1 cm. each. The smaller cubes so obtained are separated.
If cubes having only black as well as green colour are removed then how many cubes will be left ?