Arrange the chess pieces in a square, and children A and B take turns to take them for a week starting from the outer periphery. As a result, A gets 24 more pieces than B. Find the total number of chess pieces.
将棋子排成正方形，甲乙两儿童自其外周起，轮流取一周，结果甲比乙多得24粒，求棋子总数．
<gadget id="calculator">24 / 8</gadget>
<output>3</output>

<gadget id="calculator">3 * 2</gadget>
<output>6</output>

<gadget id="calculator">6 - 1</gadget>
<output>5</output>

<gadget id="calculator">5 * 2</gadget>
<output>10</output>

<gadget id="calculator">2 + 10</gadget>
<output>12</output>

<gadget id="calculator">12 * 12</gadget>
<output>144</output>

<result>144</result>