12. (3 points) A large rectangular block of wood is painted red on all its surfaces, then divided into several equally sized smaller rectangular blocks. Among these, the number of smaller blocks that have exactly two red faces is exactly 12. What is the minimum number of smaller rectangular blocks into which the large rectangular block must be divided?