Each face of a by by wooden cube is divided into by squares. Each square is painted black or white, as shown. Next, the cube is cut into by by cubes. How many of these cubes have at least two painted faces? Explain how you obtained your answer.

Each face of a by by wooden cube is divided into by squares. Each square is painted black or white, as shown. Next, the cube is cut into by by cubes. How many of these cubes have at least two painted faces? Explain how you obtained your answer.
