Cut off part of a cuboid stone with a square bottom, side length 3dm, and height 5dm, and process it into the largest cube possible. What is the volume of the chiseled stone in cubic decimeters?
把一个底面为正方形且边长是3dm、高是5dm的长方体石料凿去一部分，尽量加工为体积最大的正方体，那么凿去的石料体积是多少立方分米？
<gadget id="calculator">3 * 3 * 5</gadget>
<output>45</output>

<gadget id="calculator">3 * 3 * 3</gadget>
<output>27</output>

<gadget id="calculator">45 - 27</gadget>
<output>18</output>

<result>18</result>