A cube of dimensions 10˝ is painted red, blue and green, respectively, on the three sets of opposite faces. The cube is then cut into 104 smaller cubes, some with 4˝ dimensions and some with 2˝ dimensions. Two of the 4˝ dimensions cubes have only one of their faces painted red. The remaining 4˝ dimensions cubes have only one of their faces painted green. The following questions are based on the smaller cubes of dimensions 4˝ and 2˝.
How many smaller cubes have three of their faces painted red, blue and green?