If a pile of chess pieces are arranged in an n*n square matrix, there will be 8 extra chess pieces; if one row is added to the square matrix in both horizontal and vertical directions, 17 chess pieces will be missing. How many chess pieces are there in this pile?
一堆棋子，排列成n*n的正方形方阵，则多余出8个棋子；如果在这个正方形方阵横、纵两个方向各增加一行，则缺少17个棋子．这堆棋子有多少个．
<gadget id="calculator">8 + 17 + 1</gadget>
<output>26</output>

<gadget id="calculator">26 / 2</gadget>
<output>13</output>

<gadget id="calculator">13 * 13</gadget>
<output>169</output>

<gadget id="calculator">169 - 17</gadget>
<output>152</output>

<result>152</result>