There are several soldiers, and there are less than 17 soldiers in a solid long square. If the length and width are less than 1 each, there will be 12 soldiers. It is known that the length is 6 more than the width, so how many soldiers are there?
有士兵若干人，排成实心长方阵不足17人，若长、宽各少1人就余12人，已知长比宽多6人，那么士兵有多少人．
<gadget id="calculator">17 + 6 + 1 + 12</gadget>
<output>36</output>

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

<gadget id="calculator">1 + 6 + 1 + (-6)</gadget>
<output>2</output>

<gadget id="calculator">36 / 2</gadget>
<output>18</output>

<gadget id="calculator">18 - 6</gadget>
<output>12</output>

<gadget id="calculator">18 * 12</gadget>
<output>216</output>

<gadget id="calculator">216 - 17</gadget>
<output>199</output>

<result>199</result>