A cuboid with a volume of 1024 is composed of 1024 small cubes whose edge length is 1. If all six faces of this cuboid are painted with color, how many small cubes are there that are not painted on all six faces?
用1024个棱长是1的小正方体组成体积是1024的一个长方体．将这个长方体的六个面都涂上颜色，则六个面都没有涂色的小正方体最多有多少个．
<gadget id="calculator">8 - 2</gadget>
<output>6</output>

<gadget id="calculator">16 - 2</gadget>
<output>14</output>

<gadget id="calculator">6 * 6 * 14</gadget>
<output>504</output>

<result>504</result>