A 3 cm cube is painted on all its faces.It is then cut into 1 cm cubes.How many cubes will have paint on exactly 2 faces?