There are 400 peach trees in 8 rows in the orchard, and there are 12 fewer pear trees in each row than peach trees. How many pear trees are there in each row?
果园里有8行桃树共400棵，梨树每行比桃树少12棵，梨树每行有多少棵？
<gadget id="calculator">400 / 8</gadget>
<output>50</output>

<gadget id="calculator">50 - 12</gadget>
<output>38</output>

<result>38</result>