Study the following case and answer the questions based on it.
A cube with dimensions 5x5x5 is painted on all faces using a single colour. The cube is then cut into smaller sized cubes with dimensions 1x1x1.
Q. How many cubes have 3 faces painted?