Wang Ming spent a total of 18.5 yuan on books and diaries, leaving 12.5 yuan. How much did Wang Ming bring?
王明买书和日记本共花了18.5元，还剩下12.5元，王明一共带了多少钱？
<gadget id="calculator">18.5 + 12.5</gadget>
<output>31</output>

<result>31</result>