Dye the surface of a square wooden block with an edge length of n (n is a positive integer), and then cut it into n**3 small cubes with an edge length of l. It is found that the number of small cubes with only one surface dyed red is If there are exactly 12 times as many as two small cubes whose surfaces are dyed red, what is n equal to?
将一个棱长为n(n是正整数)的正方体木块的表面染上红色，然后切成n**3个棱长为l的小正方体，发现只有一个表面染有红色的小正方体的数量是恰有两个表面染有红色的小正方体的12倍，则n等于多少．
<result>26</result>