In a division formula, the sum of the dividend, divisor, quotient and remainder is 47. It is known that the quotient is 3 and the remainder is 4. What is the dividend?
在一个除法算式里，被除数、除数、商和余数的和是47，已知商是3，余数是4，被除数是多少．
<gadget id="calculator">47 - 4 - 3 - 4</gadget>
<output>36</output>

<gadget id="calculator">3 + 1</gadget>
<output>4</output>

<gadget id="calculator">36 / 4</gadget>
<output>9</output>

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

<gadget id="calculator">27 + 4</gadget>
<output>31</output>

<result>31</result>